Bug #111404 Assertion `is_prepared()' failed.
| Submitted: | 13 Jun 2023 18:26 | Modified: | 14 Jun 2023 5:05 |
|---|---|---|---|
| Reporter: | Yu Liang | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Stored Routines | 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) |
[13 Jun 2023 18:26]
Yu Liang
[14 Jun 2023 5:05]
MySQL Verification Team
Hello Yu Liang, Thank you for the report and test case. Observed that 8.0.33 only debug build is affected. regards, Umesh
[14 Jun 2023 5:06]
MySQL Verification Team
-- release build ./mtr bug111404 --nocheck-testcases Logging: ./mtr bug111404 --nocheck-testcases MySQL Version 8.0.33 Checking supported features 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 v0(c1 INT); CREATE PROCEDURE p3 ( ) CREATE TABLE v2 ( CHECK ( ( select 'abc' ) ) ) AS TABLE v0 ; CALL p3; [ 50%] main.bug111404 [ fail ] Test ended at 2023-06-14 07:03:28 CURRENT_TEST: main.bug111404 mysqltest: At line 6: Query 'CALL p3' failed. ERROR 3812 (HY000): An expression of non-boolean type specified to a check constraint 'v2_chk_1'. -- debug build - affected ./mtr bug111404 --nocheck-testcases --debug-server Logging: ./mtr bug111404 --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 v0(c1 INT); CREATE PROCEDURE p3 ( ) CREATE TABLE v2 ( CHECK ( ( select 'abc' ) ) ) AS TABLE v0 ; CALL p3; [ 50%] main.bug111404 [ fail ] Test ended at 2023-06-14 07:04:52 CURRENT_TEST: main.bug111404 mysqltest: At line 6: Query 'CALL p3' failed. ERROR 2013 (HY000): Lost connection to MySQL server during query . #0 0x00007f9602475aa1 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 0x00007f96006af387 in raise () from /lib64/libc.so.6 #5 0x00007f96006b0a78 in abort () from /lib64/libc.so.6 #6 0x00007f96006a81a6 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007f96006a8252 in __assert_fail () from /lib64/libc.so.6 #8 0x000000000309257a in Query_expression::save_cmd_properties(THD*) () #9 0x000000000309247b in Query_block::save_cmd_properties(THD*) () #10 0x0000000003092551 in Query_expression::save_cmd_properties(THD*) () #11 0x0000000002ff42ff in LEX::save_cmd_properties(THD*) () #12 0x0000000003579272 in Sql_cmd_create_table::execute(THD*) () #13 0x00000000030c24af in mysql_execute_command(THD*, bool) () #14 0x00000000030027ca in sp_instr_stmt::exec_core(THD*, unsigned int*) () #15 0x0000000003003f8f in sp_lex_instr::reset_lex_and_exec_core(THD*, unsigned int*, bool) () #16 0x00000000030044cd in sp_lex_instr::validate_lex_and_execute_core(THD*, unsigned int*, bool) () #17 0x0000000003004cc2 in sp_instr_stmt::execute(THD*, unsigned int*) () #18 0x0000000002ffa16f in sp_head::execute(THD*, bool) () #19 0x0000000002ffb6e5 in sp_head::execute_procedure(THD*, mem_root_deque<Item*>*) () #20 0x0000000003574717 in Sql_cmd_call::execute_inner(THD*) () #21 0x0000000003123873 in Sql_cmd_dml::execute(THD*) () #22 0x00000000030c4964 in mysql_execute_command(THD*, bool) () #23 0x00000000030c5dc9 in dispatch_sql_command(THD*, Parser_state*) () #24 0x00000000030c752b in dispatch_command(THD*, COM_DATA const*, enum_server_command) () #25 0x00000000030c926e in do_command(THD*) () #26 0x0000000003227bb7 in handle_connection () #27 0x0000000004743af9 in pfs_spawn_thread () #28 0x00007f9602470ea5 in start_thread () from /lib64/libpthread.so.0 #29 0x00007f9600777b2d in clone () from /lib64/libc.so.6
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.045 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.