Bug #111693 Insert assertion error
Submitted: 7 Jul 2023 11:51 Modified: 7 Jul 2023 12:17
Reporter: Pedro Ferreira Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DML Severity:S6 (Debug Builds)
Version:8.0.33 OS:Ubuntu (22.04)
Assigned to: CPU Architecture:x86 (x86_64)
Tags: insert, UNION, values

[7 Jul 2023 11:51] Pedro Ferreira
Description:
Run these statements:

CREATE TABLE t0(c0 INT);
INSERT INTO t0(c0) (VALUES ROW(1), ROW(2) ORDER BY 1) UNION (SELECT 3);

The insert will trigger an assertion error at sql/item.cc:10520
assert(false);

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.
[7 Jul 2023 12:17] MySQL Verification Team
Hello Pedro Ferreira,

Thank you for the report and feedback.
Observed that 8.0.33 debug build is affected.

regards,
Umesh