Bug 86597

Summary: Compile mysqlcppconn with mysql-connector-c++-1.1.4 and mariadb 10.0.11 fails
Product: LibreOffice Reporter: rezso
Component: ExtensionsAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: ilmari.lauhakangas, rezso
Priority: medium    
Version: 4.4.0.0.alpha2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: compilefix

Description rezso 2014-11-23 01:30:54 UTC
Created attachment 109879 [details]
compilefix

In mysql-connector-c++-1.1.4, the driver/nativeapi/libmysql_static_proxy.cpp contains an mysql_options4 call, which is undefined in mariadb < 10.0.14, so the build fails with undefined reference to `mysql_options4'.

Similar to this bug:
https://bugs.gentoo.org/520664?id=520664

The attached patch solves this error.
Comment 1 Buovjaga 2014-12-16 15:19:56 UTC
Please post patch to gerrit: https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch
Thanks!