Bug #45344 libmysqlclient in MySQL Cluster breaks ABI
Submitted: 5 Jun 2009 9:16 Modified: 11 May 2021 19:38
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
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

[5 Jun 2009 9:16] Magnus Blåudd
Description:
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:
MCI

See the MySQL Cluster patch
http://bazaar.launchpad.net/%7Emsvensson/%2Bjunk/mysql-cluster-patches/annotate/head%3A/wl...

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
[11 May 2021 19:38] Jon Stephens
This issue was fixed prior to NDB 7.3, so doesn't affect any current release series.

Closed.