Details
Description
--delimiter $
|
BEGIN NOT ATOMIC DECLARE c CURSOR (a ENUM(0x1)) FOR SELECT 1 ; END $ |
--delimiter ; |
10.3 fd5c36be |
mysqld: /data/src/10.3/sql/sql_yacc.yy:3669: int MYSQLparse(THD*): Assertion `thd->free_list == __null' failed.
|
200323 16:51:18 [ERROR] mysqld got signal 6 ;
|
 |
#7 0x00007f8e291a3f12 in __GI___assert_fail (assertion=0x55eff65e97b7 "thd->free_list == __null", file=0x55eff65741d8 "/data/src/10.3/sql/sql_yacc.yy", line=3669, function=0x55eff65edc20 <MYSQLparse(THD*)::__PRETTY_FUNCTION__> "int MYSQLparse(THD*)") at assert.c:101
|
#8 0x000055eff5af7131 in MYSQLparse (thd=0x7f8e10000af0) at /data/src/10.3/sql/sql_yacc.yy:3669
|
#9 0x000055eff58ba49f in parse_sql (thd=0x7f8e10000af0, parser_state=0x7f8e233a25e0, creation_ctx=0x0, do_pfs_digest=true) at /data/src/10.3/sql/sql_parse.cc:10094
|
#10 0x000055eff58b4edd in mysql_parse (thd=0x7f8e10000af0, rawbuf=0x7f8e10012960 "BEGIN NOT ATOMIC DECLARE c CURSOR (a ENUM(0x1)) FOR SELECT 1 ; END", length=66, parser_state=0x7f8e233a25e0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7770
|
#11 0x000055eff58a1c07 in dispatch_command (command=COM_QUERY, thd=0x7f8e10000af0, packet=0x7f8e10123291 "BEGIN NOT ATOMIC DECLARE c CURSOR (a ENUM(0x1)) FOR SELECT 1 ; END ", packet_length=67, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1856
|
#12 0x000055eff58a054f in do_command (thd=0x7f8e10000af0) at /data/src/10.3/sql/sql_parse.cc:1401
|
#13 0x000055eff5a180c8 in do_handle_one_connection (connect=0x55eff838ce20) at /data/src/10.3/sql/sql_connect.cc:1403
|
#14 0x000055eff5a17e2a in handle_one_connection (arg=0x55eff838ce20) at /data/src/10.3/sql/sql_connect.cc:1308
|
#15 0x000055eff63c8368 in pfs_spawn_thread (arg=0x55eff82d3f40) at /data/src/10.3/storage/perfschema/pfs.cc:1869
|
#16 0x00007f8e2b12c4a4 in start_thread (arg=0x7f8e233a3700) at pthread_create.c:456
|
#17 0x00007f8e29260d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.3-10.5.
The test case is not applicable to 10.2.
No obvious problem on a non-debug build.