Bug #111445 | virtual longlong Item_typecast_signed::val_int(): Assertion `is_nullable()' fail | ||
---|---|---|---|
Submitted: | 15 Jun 2023 19:51 | Modified: | 29 Jun 2023 19:32 |
Reporter: | Yu Liang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S6 (Debug Builds) |
Version: | 8.0.33 | OS: | Ubuntu (20.04 LTS) |
Assigned to: | CPU Architecture: | x86 (Intel(R) Core(TM) i7-10700 CPU) |
[15 Jun 2023 19:51]
Yu Liang
[16 Jun 2023 4:52]
MySQL Verification Team
Hello Yu Liang, Thank you for the report and test case. Observed that 8.0.33 debug build is affected. regards, Umesh
[16 Jun 2023 4:53]
MySQL Verification Team
-- release build - not affected Using 'all' suites Collecting tests Checking leftover processes Removing old var directory - WARNING: Using the 'mysql-test/var' symlink Creating var directory '/export/home/tmp/ushastry/mysql-8.0.33/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ drop database if exists test123; Warnings: Note 1008 Can't drop database 'test123'; database doesn't exist create database test123; use test123; CREATE TABLE IF NOT EXISTS v0 ( c1 INT , c2 ENUM ( 0x0 ) ASCII BINARY PRIMARY KEY ) ; Warnings: Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead Warning 1287 'BINARY as attribute of a type' is deprecated and will be removed in a future release. Please use a CHARACTER SET clause with _bin collation instead INSERT v0 SET c1 = DEFAULT ; UPDATE v0 SET c1 = 0x0 WHERE CONVERT ( c2 MEMBER OF ( c2 ) , SIGNED INT ) ; [ 50%] main.bug111445 [ fail ] Test ended at 2023-06-16 06:50:39 CURRENT_TEST: main.bug111445 mysqltest: At line 6: Query 'UPDATE v0 SET c1 = 0x0 WHERE CONVERT ( c2 MEMBER OF ( c2 ) , SIGNED INT ) ' failed. ERROR 3146 (22032): Invalid data type for JSON data in argument 2 to function member of; a JSON string or JSON type is required. safe_process[21435]: Child process: 21436, exit: 1 - the logfile can be found in '/export/home/tmp/ushastry/mysql-8.0.33/mysql-test/var/log/main.bug111445/bug111445.log' [100%] shutdown_report [ pass ] -- debug build - affected ./mtr bug111445 --nocheck-testcases --debug-server Logging: ./mtr bug111445 --nocheck-testcases --debug-server MySQL Version 8.0.33 Checking supported features - Binaries are debug compiled Using 'all' suites Collecting tests Checking leftover processes Removing old var directory - WARNING: Using the 'mysql-test/var' symlink Creating var directory '/export/home/tmp/ushastry/mysql-8.0.33/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ drop database if exists test123; Warnings: Note 1008 Can't drop database 'test123'; database doesn't exist create database test123; use test123; CREATE TABLE IF NOT EXISTS v0 ( c1 INT , c2 ENUM ( 0x0 ) ASCII BINARY PRIMARY KEY ) ; Warnings: Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead Warning 1287 'BINARY as attribute of a type' is deprecated and will be removed in a future release. Please use a CHARACTER SET clause with _bin collation instead INSERT v0 SET c1 = DEFAULT ; UPDATE v0 SET c1 = 0x0 WHERE CONVERT ( c2 MEMBER OF ( c2 ) , SIGNED INT ) ; [ 50%] main.bug111445 [ fail ] Test ended at 2023-06-16 06:51:02 CURRENT_TEST: main.bug111445 mysqltest: At line 6: Query 'UPDATE v0 SET c1 = 0x0 WHERE CONVERT ( c2 MEMBER OF ( c2 ) , SIGNED INT ) ' failed. ERROR 2013 (HY000): Lost connection to MySQL server during query #0 0x00007f2129f02aa1 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000003f9296e in my_write_core(int) () #2 0x00000000032365f5 in handle_fatal_signal () #3 <signal handler called> #4 0x00007f212813c387 in raise () from /lib64/libc.so.6 #5 0x00007f212813da78 in abort () from /lib64/libc.so.6 #6 0x00007f21281351a6 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007f2128135252 in __assert_fail () from /lib64/libc.so.6 #8 0x00000000033efa2f in Item_typecast_signed::val_int() () #9 0x000000000339cf28 in Arg_comparator::compare_int_signed() () #10 0x00000000033ace4f in Arg_comparator::compare() () #11 0x000000000339be03 in Item_func_ne::val_int() () #12 0x000000000319a9c8 in Sql_cmd_update::update_single_table(THD*) () #13 0x000000000319b373 in Sql_cmd_update::execute_inner(THD*) () #14 0x0000000003123873 in Sql_cmd_dml::execute(THD*) () #15 0x00000000030c24af in mysql_execute_command(THD*, bool) () #16 0x00000000030c5dc9 in dispatch_sql_command(THD*, Parser_state*) () #17 0x00000000030c752b in dispatch_command(THD*, COM_DATA const*, enum_server_command) () #18 0x00000000030c926e in do_command(THD*) () #19 0x0000000003227bb7 in handle_connection () #20 0x0000000004743af9 in pfs_spawn_thread () #21 0x00007f2129efdea5 in start_thread () from /lib64/libpthread.so.0 #22 0x00007f2128204b2d in clone () from /lib64/libc.so.6
[29 Jun 2023 19:32]
Christine Cole
Posted by developer: Work was done for test suite. No changelog entry needed.