[debian-mysql] Bug#849125: mariadb-connector-c: Fix include of my_stmt.h

Andre Nathan andre at digirati.com.br
Thu Dec 22 19:24:27 UTC 2016


Package: mariadb-connector-c
Version: 2.3.1-1
Severity: important

Hi,

The mysql.h file has an #include directive as such:

#include <my_stmt.h>

This causes an error in C programs that include "mysql.h", making the
library unusable. There's an upstream fix
(https://jira.mariadb.org/browse/CONC-143) that claims to have made it
into version 2.2.0 of the connector, but it seems the error has crept
back in.

The fix is really simple, replacing the include statement above with

#include "my_stmt.h"

Thanks.



More information about the pkg-mysql-maint mailing list