Bug #113293 Create table like assertion error
Submitted: 30 Nov 2023 12:50 Modified: 30 Nov 2023 13:56
Reporter: Pedro Ferreira Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DDL Severity:S6 (Debug Builds)
Version:8.2.0, 8.0.35 OS:Ubuntu (22.04)
Assigned to: CPU Architecture:x86 (x86_64)
Tags: CREATE TABLE, like, Unicode

[30 Nov 2023 12:50] Pedro Ferreira
Description:
Run these statements:

CREATE TABLE t0 (c0 INT, CHECK (c0 = 1));
CREATE TABLE `U+1F917U+1F917U+1F917U+1F917U+1F917U+1F917U+1F917U+1F917U+1F917` LIKE t0;

The second CREATE TABLE will hit an assertion error at sql/dd/impl/raw/raw_record.cc:158
assert(rc == TYPE_OK);

The compilation parameters are the same as issue 108148:

-DWITH_DEBUG=1 -DWITH_ASAN=ON -DWITH_UBSAN=ON and boost library version 1.77

How to repeat:
Run the statements above.
[30 Nov 2023 13:56] MySQL Verification Team
Hello Pedro Ferreira,

Thank you for the report and feedback.
Verified as described.

regards,
Umesh