Bug #29370 need tool to enforce mysqld error number compatibility

Submitted: 26 Jun 2007 19:12
Reporter: Timothy Smith Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:any OS:Any
Assigned to: CPU Architecture:Any

[26 Jun 2007 19:12] Timothy Smith
Description:
See bug #29245 for background.

We need a tool to enforce cross-version compatibility in error numbers.  Any error code which is defined in multiple versions must have the same value in all versions (except for ER_ERROR_LAST, which obviously will differ across versions).  

A tool, either in the source tree itself (best, but perhaps too restrictive), or in PushBuild, must check this and disallow changes which break it (or complain very loudly if such a change does make it into the code).

How to repeat:
See bug #29245.  For the correct method of adding error messages, see http://forge.mysql.com/wiki/MySQL_Internals_Error_Messages#Adding_an_error_message_in_mult...

Suggested fix:
Perhaps abi_check can be used for this purpose; however, we need to be able to add error messages in the proper way without causing a headache.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.