Bug #45344 libmysqlclient in MySQL CLuster breaks ABI
Submitted: 5 Jun 2009 9:16
Reporter: Magnus Blåudd Email Updates:
Status: Verified Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco- 6.3 OS:Any
Assigned to: CPU Architecture:Any
Tags: MySQL Cluster 6.3.4
Triage: Triaged: D4 (Minor) / R6 (Needs Assessment) / E6 (Needs Assessment)

[5 Jun 2009 9:16] Magnus Blåudd
The "struct st_mysql_option" in mysql.h for MySQL CLuster has been extended with a "const char* bind_adress".This breaks the ABI and causes the normal libmysqlclient to be incomaptible with the one in MySQL Cluster.

Users of MySQL Cluster should be aware that due to this change you can't just take any mysql program with dynamic linking and use it with a libmysqlclient from MySQL Cluster. 

How to repeat:

See the MySQL Cluster patch

Suggested fix:
Maybe to late to fix, but when/if MySQL Cluster is rebased, the patch should be rewritten so that the bind_adress field is put in mysql_options->extension, thus not affecting the ABI.
[12 Jun 2014 9:31] Magnus Blåudd
Posted by developer:
This problem have been fixed in MySQL Cluster 7.2 and higher. Still affects MySQL Cluster based on MySQL Server 5.1 though i.e 6.3, 7.0 and 7.1