Bug #112712 Assertion `!null_value || is_nullable()' failed in MySQL 8.1.0
| Submitted: | 13 Oct 2023 9:11 | Modified: | 13 Oct 2023 9:48 |
|---|---|---|---|
| Reporter: | Wang Ke | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S6 (Debug Builds) |
| Version: | 8.1.0, 8.0.34 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[13 Oct 2023 9:11]
Wang Ke
[13 Oct 2023 9:48]
MySQL Verification Team
Hello Wang Ke, Thank you for the report and test case. Observed that 8.0.34 debug build is affected. regards, Umesh
[13 Oct 2023 9:49]
MySQL Verification Team
- release build - not affected ./mtr --nocheck-testcases bug112712 Logging: ./mtr --nocheck-testcases bug112712 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 ( c0 INT NOT NULL , c1 DATETIME DEFAULT ( source_pos_wait( 'fixme' , LENGTH( t0.c0 ) - INSTR( REVERSE( t0.c0 ) , 'fixme' ) , - 1 ) ) DEFAULT ( TIMESTAMPADD( SQL_TSI_MINUTE , 1 , 'x' ) ) , c2 INT DEFAULT NULL , c3 INT ( 1 ) NOT NULL ) ; Warnings: Warning 1681 Integer display width is deprecated and will be removed in a future release. CREATE TEMPORARY TABLE t1 ( c4 CHAR ( 1 ) , c5 DATETIME DEFAULT NULL , c6 CHAR ( 1 ) , c7 VARCHAR ( 1 ) , c8 TEXT ) ; SELECT 1 ca2 FROM t0 ra1 WHERE CAST( ra1.c0 AS UNSIGNED INT ) = 2147483648 AND ra1.c0 = ( SELECT 1 ca0 FROM t1 ra2 ) ORDER BY ra1.c0 DESC ; ca2 [ 50%] main.bug112712 [ pass ] 89 [100%] shutdown_report [ pass ] ------------------------------------------------------------------------------ The servers were restarted 0 times The servers were reinitialized 0 times Spent 0.089 of 8 seconds executing testcases - debug build - affected ./mtr --nocheck-testcases bug112712 --debug-server Logging: ./mtr --nocheck-testcases bug112712 --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 ( c0 INT NOT NULL , c1 DATETIME DEFAULT ( source_pos_wait( 'fixme' , LENGTH( t0.c0 ) - INSTR( REVERSE( t0.c0 ) , 'fixme' ) , - 1 ) ) DEFAULT ( TIMESTAMPADD( SQL_TSI_MINUTE , 1 , 'x' ) ) , c2 INT DEFAULT NULL , c3 INT ( 1 ) NOT NULL ) ; Warnings: Warning 1681 Integer display width is deprecated and will be removed in a future release. CREATE TEMPORARY TABLE t1 ( c4 CHAR ( 1 ) , c5 DATETIME DEFAULT NULL , c6 CHAR ( 1 ) , c7 VARCHAR ( 1 ) , c8 TEXT ) ; SELECT 1 ca2 FROM t0 ra1 WHERE CAST( ra1.c0 AS UNSIGNED INT ) = 2147483648 AND ra1.c0 = ( SELECT 1 ca0 FROM t1 ra2 ) ORDER BY ra1.c0 DESC ; [ 50%] main.bug112712 [ fail ] Test ended at 2023-10-13 11:47:32 CURRENT_TEST: main.bug112712 mysqltest: At line 3: Query 'SELECT 1 ca2 FROM t0 ra1 WHERE CAST( ra1.c0 AS UNSIGNED INT ) = 2147483648 AND ra1.c0 = ( SELECT 1 ca0 FROM t1 ra2 ) ORDER BY ra1.c0 DESC ' failed. ERROR 2013 (HY000): Lost connection to MySQL server during query
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 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.