Bug #26384 | Possible source for ABI breakage in mysql.h | ||
---|---|---|---|
Submitted: | 14 Feb 2007 22:55 | Modified: | 6 Mar 2007 20:21 |
Reporter: | Christian Hammers (Silver Quality Contributor) (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Embedded Library ( libmysqld ) | Severity: | S2 (Serious) |
Version: | 5.1, 5.0 | OS: | |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
Tags: | qc |
[14 Feb 2007 22:55]
Christian Hammers
[15 Feb 2007 6:35]
Valeriy Kravchuk
Thank you for a problem report. Verified by code review on latest 5.0.36-BK. Also it looks like clients compiled on any modern 5.1.x (MYSQL_VERSION_ID>=50100) will be incompatible with libmysqlclient.so.15 from any modern 5.0.x, while library name is the same...
[4 Mar 2007 21:12]
Alexey Botchkov
Yes, that's the source for ABI breakage. The breakage can happen when we link an object compiled with the 4.x header against the 5.x embedded library. Fortunately that's really rare case. So we recommend to recompile sources with 5.x header to be able to use 5.x embedded server with it. That should be documented.
[6 Mar 2007 20:21]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products. Added a paragraph about ensuring binary compatibility. This will appear at: http://dev.mysql.com/doc/refman/4.1/en/libmysqld.html http://dev.mysql.com/doc/refman/5.0/en/libmysqld.html http://dev.mysql.com/doc/refman/5.1/en/libmysqld.html
[8 Aug 2009 11:14]
Andrey Ponomarenko
Use ABI-compliance-checker instead of icheck because it provides more convenient and appropriate compatibility report http://ispras.linux-foundation.org/index.php/ABI_compliance_checker