[debian-mysql] ABI break between 5.5 and 5.6?

Robie Basak robie.basak at ubuntu.com
Mon Sep 8 11:54:23 UTC 2014


Morgan,

Please could you take a look at
http://upstream-tracker.org/compat_reports/mysql/5.5.38_to_5.6.10/abi_compat_report.html
?

This suggests two bugs in libmysqlclient.so.18 as built from 5.6.

1) Symbols my_connect and net_real_write have disappeared, defined in
mysql_com.h.

2) Enum MYSQL_ENABLE_CLEARTEXT_PLUGIN has changed (from 24 to 36),
defined in mysql.h, and there is a new definition for 24
(MYSQL_OPT_BIND) instead.

Of the two, the second seems more severe to me. Anybody using a binary
built with this definition from 5.5 may see a behaviour change with a
drop-in replacement library from 5.6, since they share the same soname
but will use the old enum value.

OTOH, changing the enum back may regress any binary built against
earlier 5.6 versions.

I don't have the full story here, since I don't know how these enums are
used. Please could you advise? Does this need a soname bump now, in the
middle of the 5.6 series (not good, I know)?

Are these valid bugs?

Robie



More information about the pkg-mysql-maint mailing list