maria-developers team mailing list archive
Mailing list archive
header change in MariaDB 10.2.6 and mysqlclient python binding
First of all, congratulations to MariaDB 10.2 GA.
mysqlclient (python binding : https://pypi.python.org/pypi/mysqlclient/1.3.10 ) cannot be built with MariaDB 10.2.6 like the following :
_mysql.c: In function '_mysql_ConnectionObject_ping':
_mysql.c:1911:41: error: 'MYSQL' has no member named 'reconnect'
if ( reconnect != -1 ) self->connection.reconnect = reconnect;
error: Setup script exited with error: command 'gcc' failed with exit status 1
This is because the change in include/mysql/mysql.h.
In MariaDB 10.2.5, it is same as mariadb-10.2.5/include/mysql.h in the source tree.
In MariaDB 10.2.6, it is same as mariadb-10.2.6/libmariadb/include/mysql.h in the source tree.
Is this change intentional ? Should I contact mysqlclient developer for further fix of this issue ?
Thanks in advance !