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

Morgan Tocker morgan.tocker at oracle.com
Mon Sep 8 13:03:19 UTC 2014


Hi Robie,

Thanks for the heads up.  Let me do some research and get back to you shortly.

- Morgan

-- 
Morgan Tocker
MySQL Community Manager
Oracle Canada - Hardware and Software, Engineered to Work Together.
Office: Toronto, Canada

> On Sep 8, 2014, at 7:54 AM, Robie Basak <robie.basak at ubuntu.com> wrote:
> 
> 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