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

Andre Nathan andre at digirati.com.br
Thu Dec 29 09:54:11 UTC 2016


Hi Georg,

Could you apply it to branch connector_c_2.3 too? It's still affected:

https://github.com/MariaDB/mariadb-connector-c/blob/connector_c_2.3/include/mysql.h#L368

Best regards,
Andre

On 12/23/2016 01:55 PM, Georg Richter wrote:
> Fix pushed to connector_c_2.2 branch, 3.0 (master) was not affected.
> 
> commit 1deacd5782b9dc041c50f7359d24eaef9ba8f5a5
> Author: Georg Richter <georg at mariadb.com <mailto:georg at mariadb.com>>
> Date:   Fri Dec 23 16:53:14 2016 +0100
> 
>     Fix for debian Bug#849125: fix include of my_stmt.h
> 
> /Georg
> 
> 
> On Thu, Dec 22, 2016 at 8:24 PM, Andre Nathan <andre at digirati.com.br
> <mailto:andre at digirati.com.br>> wrote:
> 
>     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
>     <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.
> 
>     _______________________________________________
>     pkg-mysql-maint mailing list
>     pkg-mysql-maint at lists.alioth.debian.org
>     <mailto:pkg-mysql-maint at lists.alioth.debian.org>
>     http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint
>     <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint>
> 
> 
> 
> 
> -- 
> Georg Richter, Senior Software Engineer
> MariaDB Corporation Ab


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20161229/da77c6fd/attachment.sig>


More information about the pkg-mysql-maint mailing list