Bug #121916 ER_TEMPTABLE_ENGINE_ERROR is renumbered from 15147 to 15148

Submitted: 24 Nov 23:21
Reporter: QiFan Liu Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:26.10.0 OS:Linux
Assigned to: CPU Architecture:x86
Tags: ER_TEMPTABLE_ENGINE_ERROR, error numbers, performance schema

[24 Nov 23:21] QiFan Liu
Description:
The runtime error catalog reports ER_TEMPTABLE_ENGINE_ERROR as error number 15148:

15148	ER_TEMPTABLE_ENGINE_ERROR	HY000

This symbol has error number 15147 in the MySQL 8.4 Error Reference (MY-015147).

share/errmsg_readme.txt states:

Error numbers ("MY-000418") may not change, except for messages that exist only in trunk.

Its upmerge instructions also require messages shared with a lower branch and messages newly added to that branch to precede trunk-only messages:

For each range of messages in trunk, the order should become

I messages that existed in both in trunk and the lower branch

II messages you newly added to the lower branch

III messages that exist only in trunk

This way, the message you add will have the same number in trunk as in the lower branch.

How to repeat:
Run as root.

SELECT ERROR_NUMBER, ERROR_NAME, SQL_STATE
FROM performance_schema.events_errors_summary_global_by_error
WHERE ERROR_NAME = 'ER_TEMPTABLE_ENGINE_ERROR'; -- returns 15148 ER_TEMPTABLE_ENGINE_ERROR HY000, expected 15147 ER_TEMPTABLE_ENGINE_ERROR HY000

Suggested fix:
Place the trunk-only ER_SIMPLE_ERROR_LOG_COMPONENT_STATUS definition after the shared and newly upmerged definitions in this diagnostic range so ER_TEMPTABLE_ENGINE_ERROR retains number 15147.

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

Page generated in 0.050 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.