Bug #45344 libmysqlclient in MySQL CLuster breaks ABI
Submitted: 5 Jun 11:16
Reporter: Magnus Blaudd
Status: Verified
Category:Server: Cluster Severity:S3 (Non-critical)
Version:mysql-5.1-telco- 6.3 OS:Any
Assigned to: Target Version:
Tags: MySQL Cluster 6.3.4
Triage: Triaged: D4 (Minor) / R6 (Needs Assessment) / E6 (Needs Assessment)

[5 Jun 11:16] Magnus Blaudd
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
wl3126_bind_adress_for_client">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.