Bug #112475 | Assertion Failure in /mysql-8.0.34/sql/sql_select.cc:2303 | ||
---|---|---|---|
Submitted: | 26 Sep 2023 9:43 | Modified: | 26 Sep 2023 9:44 |
Reporter: | xin wen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S6 (Debug Builds) |
Version: | 8.0.34 | OS: | Ubuntu (20.04) |
Assigned to: | CPU Architecture: | Any |
[26 Sep 2023 9:43]
xin wen
[26 Sep 2023 9:44]
MySQL Verification Team
Hello xin wen, Thank you for the report and test case. Observed that 8.0.34 debug build is affected. regards, Umesh
[26 Sep 2023 9:45]
MySQL Verification Team
- release - failes ./mtr --nocheck-testcases bug112475 Logging: ./mtr --nocheck-testcases bug112475 MySQL Version 8.0.34 Checking supported features Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/export/home/tmp/ushastry/mysql-8.0.34/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ CREATE TABLE t0 REPLACE AS SELECT -89 AS c14 ORDER BY c14 ; INSERT INTO t0 VALUES ( DEFAULT ) , ( DEFAULT ) ; ALTER TABLE t0 RENAME TO t1 ; INSERT INTO t1 VALUES ( 12 ) , ( 121 ) ; SELECT t1 . c14 AS c25 FROM ( SELECT t1 . c14 AS c31 FROM ( SELECT CONVERT ( c14 = RAND ( ) IN ( SIGN ( -54 ) & RAND ( ) LIKE CASE -47 WHEN TRUE THEN -94 WHEN -16 THEN 107 ELSE -44 END , -6351076902139315214 , -68 ) , BINARY ) AS c58 FROM t1 ) AS t2 JOIN t1 ON + EXISTS ( SELECT t1 . c14 AS c33 FROM t1 WHERE c58 = ASCII ( -97 ) << t1 . c14 + -119 GROUP BY c14 , c14 ) , t1 AS t3 JOIN t1 AS t4 ON REVERSE ( t3 . c14 ) ) AS t5 JOIN t1 ON t5 . c31 = t5 . c31 ; [ 50%] main.bug112475 [ fail ] Test ended at 2023-09-26 11:43:52 CURRENT_TEST: main.bug112475 mysqltest: At line 5: Query 'SELECT t1 . c14 AS c25 FROM ( SELECT t1 . c14 AS c31 FROM ( SELECT CONVERT ( c14 = RAND ( ) IN ( SIGN ( -54 ) & RAND ( ) LIKE CASE -47 WHEN TRUE THEN -94 WHEN -16 THEN 107 ELSE -44 END , -6351076902139315214 , -68 ) , BINARY ) AS c58 FROM t1 ) AS t2 JOIN t1 ON + EXISTS ( SELECT t1 . c14 AS c33 FROM t1 WHERE c58 = ASCII ( -97 ) << t1 . c14 + -119 GROUP BY c14 , c14 ) , t1 AS t3 JOIN t1 AS t4 ON REVERSE ( t3 . c14 ) ) AS t5 JOIN t1 ON t5 . c31 = t5 . c31 ' failed. ERROR 1815 (HY000): Internal error: Key not found safe_process[27651]: Child process: 27652, exit: 1 - the logfile can be found in '/export/home/tmp/ushastry/mysql-8.0.34/mysql-test/var/log/main.bug112475/bug112475.log' [100%] shutdown_report [ pass ] --debug - asserts ./mtr --nocheck-testcases bug112475 --debug-server Logging: ./mtr --nocheck-testcases bug112475 --debug-server MySQL Version 8.0.34 Checking supported features - Binaries are debug compiled Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/export/home/tmp/ushastry/mysql-8.0.34/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ CREATE TABLE t0 REPLACE AS SELECT -89 AS c14 ORDER BY c14 ; INSERT INTO t0 VALUES ( DEFAULT ) , ( DEFAULT ) ; ALTER TABLE t0 RENAME TO t1 ; INSERT INTO t1 VALUES ( 12 ) , ( 121 ) ; SELECT t1 . c14 AS c25 FROM ( SELECT t1 . c14 AS c31 FROM ( SELECT CONVERT ( c14 = RAND ( ) IN ( SIGN ( -54 ) & RAND ( ) LIKE CASE -47 WHEN TRUE THEN -94 WHEN -16 THEN 107 ELSE -44 END , -6351076902139315214 , -68 ) , BINARY ) AS c58 FROM t1 ) AS t2 JOIN t1 ON + EXISTS ( SELECT t1 . c14 AS c33 FROM t1 WHERE c58 = ASCII ( -97 ) << t1 . c14 + -119 GROUP BY c14 , c14 ) , t1 AS t3 JOIN t1 AS t4 ON REVERSE ( t3 . c14 ) ) AS t5 JOIN t1 ON t5 . c31 = t5 . c31 ; [ 50%] main.bug112475 [ fail ] Test ended at 2023-09-26 11:44:27 CURRENT_TEST: main.bug112475 mysqltest: At line 5: Query 'SELECT t1 . c14 AS c25 FROM ( SELECT t1 . c14 AS c31 FROM ( SELECT CONVERT ( c14 = RAND ( ) IN ( SIGN ( -54 ) & RAND ( ) LIKE CASE -47 WHEN TRUE THEN -94 WHEN -16 THEN 107 ELSE -44 END , -6351076902139315214 , -68 ) , BINARY ) AS c58 FROM t1 ) AS t2 JOIN t1 ON + EXISTS ( SELECT t1 . c14 AS c33 FROM t1 WHERE c58 = ASCII ( -97 ) << t1 . c14 + -119 GROUP BY c14 , c14 ) , t1 AS t3 JOIN t1 AS t4 ON REVERSE ( t3 . c14 ) ) AS t5 JOIN t1 ON t5 . c31 = t5 . c31 ' failed. ERROR 2013 (HY000): Lost connection to MySQL server during query