Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5
-
None
Description
Test case
Table structure
|
CREATE TABLE t1(a int not null auto_increment primary key,b int default 5,c varchar(80) default 'abcdefg',d bigint,f text,unique key(b),key(d),fulltext(f)) engine=innodb;
|
CREATE TABLE grandparent(a int not null primary key,b int,c int,d varchar(80),key (b)) engine=innodb;
|
CREATE TABLE parent(a int not null primary key,b int,c int,d varchar(80),key(b),unique key(c),foreign key (c) references grandparent(a) on update cascade on delete cascade) engine=innodb;
|
CREATE TABLE child(a int not null primary key,b int,d varchar(80),foreign key (b) references parent(a) on update cascade on delete cascade) engine=innodb;
|
|
perl gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=12795:user=root:database=test --grammar=conf/examples/rqg_test.yy --threads=32 --duration=10300 --queries=100000000 &
|
RQG grammar and relevant files are attached
Leads to
10.5.26 9dafde575f0f91a25d0357c060c311a098c1a737 (Debug) |
mysqld: /test/10.5_dbg/sql/wsrep_mysqld.cc:2554: int wsrep_to_isolation_begin(THD*, const char*, const char*, const TABLE_LIST*, const Alter_info*, const key_array*, const HA_CREATE_INFO*): Assertion `(0)' failed.
|
10.5.26 9dafde575f0f91a25d0357c060c311a098c1a737 (Debug) |
Core was generated by `/test/GAL_MD180724-mariadb-10.5.26-linux-x86_64-dbg/bin/mysqld --defaults-file='.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
[Current thread is 1 (Thread 0x14851bf69700 (LWP 4066606))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x000055a7387ed47d in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:424
|
#2 0x000055a738034b4c in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:357
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x0000148620d76859 in __GI_abort () at abort.c:79
|
#6 0x0000148620d76729 in __assert_fail_base (fmt=0x148620f0c588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55a7389ec8a1 "(0)", file=0x55a738bda7d0 "/test/10.5_dbg/sql/wsrep_mysqld.cc", line=2554, function=<optimized out>) at assert.c:92
|
#7 0x0000148620d87fd6 in __GI___assert_fail (assertion=assertion@entry=0x55a7389ec8a1 "(0)", file=file@entry=0x55a738bda7d0 "/test/10.5_dbg/sql/wsrep_mysqld.cc", line=line@entry=2554, function=function@entry=0x55a738bdb810 "int wsrep_to_isolation_begin(THD*, const char*, const char*, const TABLE_LIST*, const Alter_info*, const key_array*, const HA_CREATE_INFO*)") at assert.c:101
|
#8 0x000055a73832fa9c in wsrep_to_isolation_begin (thd=thd@entry=0x14850c000d48, db_=db_@entry=0x0, table_=table_@entry=0x0, table_list=table_list@entry=0x14850c012fd0, alter_info=alter_info@entry=0x0, fk_tables=fk_tables@entry=0x0, create_info=0x0) at /test/10.5_dbg/sql/wsrep_mysqld.cc:2554
|
#9 0x000055a737eda67e in Sql_cmd_optimize_table::execute (this=<optimized out>, thd=0x14850c000d48) at /test/10.5_dbg/sql/sql_admin.cc:1528
|
#10 0x000055a737d8d525 in mysql_execute_command (thd=thd@entry=0x14850c000d48) at /test/10.5_dbg/sql/sql_parse.cc:6167
|
#11 0x000055a737d74dc1 in mysql_parse (thd=thd@entry=0x14850c000d48, rawbuf=rawbuf@entry=0x14850c012ee0 "OPTIMIZE TABLE child /* QNO 12375 CON_ID 47 */", length=length@entry=46, parser_state=parser_state@entry=0x14851bf68310, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:8223
|
#12 0x000055a737d746a8 in wsrep_mysql_parse (thd=thd@entry=0x14850c000d48, rawbuf=0x14850c012ee0 "OPTIMIZE TABLE child /* QNO 12375 CON_ID 47 */", length=46, parser_state=parser_state@entry=0x14851bf68310, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:8023
|
#13 0x000055a737d8325c in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14850c000d48, packet=packet@entry=0x14850c00aac9 "OPTIMIZE TABLE child /* QNO 12375 CON_ID 47 */ ", packet_length=packet_length@entry=47, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_class.h:1329
|
#14 0x000055a737d85bc7 in do_command (thd=0x14850c000d48) at /test/10.5_dbg/sql/sql_parse.cc:1376
|
#15 0x000055a737ec771b in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55a73c11a808, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1417
|
#16 0x000055a737ec7bec in handle_one_connection (arg=0x55a73c11a808) at /test/10.5_dbg/sql/sql_connect.cc:1319
|
#17 0x0000148621287609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#18 0x0000148620e73133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|