Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.6, 10.11, 11.4, 11.8
Description
--source include/have_innodb.inc
|
--source include/have_log_bin.inc
|
|
CREATE TEMPORARY TABLE t1 (a INT); |
CREATE TABLE t2 (a INT); |
DELETE FROM t2 LIMIT 0; |
SET SESSION sql_log_bin=0; |
CREATE TABLE t3 ENGINE=INNODB SELECT 1 ; |
another test case
--source include/have_innodb.inc
|
--source include/have_log_bin.inc
|
|
SET sql_log_bin=0; |
CREATE TEMPORARY TABLE t (a INT); |
--ERROR ER_TEXTFILE_NOT_READABLE
|
LOAD DATA INFILE '' INTO TABLE t SET a=a; |
CREATE TABLE t ENGINE=INNODB SELECT 1; |
|
Leads to:
CS 10.6.21 155203c3521babed20636df15a1547d94f732469 (Debug) |
mariadbd: /test/10.6_dbg/storage/innobase/handler/ha_innodb.cc:4718: int innobase_commit(handlerton*, THD*, bool): Assertion `commit_trx' failed.
|
CS 10.6.21 155203c3521babed20636df15a1547d94f732469 (Debug) |
Core was generated by `/test/MD131224-mariadb-10.6.21-linux-x86_64-dbg/bin/mariadbd --no-defaults --ma'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x15069a237700 (LWP 958049))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x00001506b2696859 in __GI_abort () at abort.c:79
|
#2 0x00001506b2696729 in __assert_fail_base (fmt=0x1506b282c588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55cc319945c2 "commit_trx", file=0x55cc31996d00 "/test/10.6_dbg/storage/innobase/handler/ha_innodb.cc", line=4718, function=<optimized out>) at assert.c:92
|
#3 0x00001506b26a7fd6 in __GI___assert_fail (assertion=assertion@entry=0x55cc319945c2 "commit_trx", file=file@entry=0x55cc31996d00 "/test/10.6_dbg/storage/innobase/handler/ha_innodb.cc", line=line@entry=4718, function=function@entry=0x55cc319996e8 "int innobase_commit(handlerton*, THD*, bool)") at assert.c:101
|
#4 0x000055cc3115bc50 in innobase_commit (hton=<optimized out>, thd=0x15066c000d48, commit_trx=<optimized out>) at /test/10.6_dbg/storage/innobase/handler/ha_innodb.cc:4718
|
#5 0x000055cc30e2a65c in commit_one_phase_2 (thd=thd@entry=0x15066c000d48, all=all@entry=false, trans=trans@entry=0x15066c004738, is_real_trans=is_real_trans@entry=true) at /test/10.6_dbg/sql/handler.cc:2155
|
#6 0x000055cc30e2c566 in ha_commit_trans (thd=thd@entry=0x15066c000d48, all=all@entry=false) at /test/10.6_dbg/sql/handler.cc:1973
|
#7 0x000055cc30cc710b in trans_commit_stmt (thd=0x15066c000d48) at /test/10.6_dbg/sql/transaction.cc:497
|
#8 0x000055cc30b1d348 in select_create::send_eof (this=0x15066c0149b0) at /test/10.6_dbg/sql/sql_insert.cc:5167
|
#9 0x000055cc30bdab51 in JOIN::exec_inner (this=this@entry=0x15066c014af8) at /test/10.6_dbg/sql/sql_select.cc:4813
|
#10 0x000055cc30bdba0e in JOIN::exec (this=this@entry=0x15066c014af8) at /test/10.6_dbg/sql/sql_select.cc:4714
|
#11 0x000055cc30bd9a83 in mysql_select (thd=thd@entry=0x15066c000d48, tables=0x0, fields=@0x15066c013ce8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x15066c013f78, last = 0x15066c013f78, elements = 1}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2201170742016, result=0x15066c0149b0, unit=0x15066c004f38, select_lex=0x15066c013a28) at /test/10.6_dbg/sql/sql_select.cc:5193
|
#12 0x000055cc30bda1fd in handle_select (thd=thd@entry=0x15066c000d48, lex=lex@entry=0x15066c004e70, result=result@entry=0x15066c0149b0, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/10.6_dbg/sql/sql_select.cc:573
|
#13 0x000055cc30c31a6e in Sql_cmd_create_table_like::execute (this=<optimized out>, thd=0x15066c000d48) at /test/10.6_dbg/sql/sql_table.cc:12270
|
#14 0x000055cc30b68499 in mysql_execute_command (thd=thd@entry=0x15066c000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/10.6_dbg/sql/sql_parse.cc:6157
|
#15 0x000055cc30b4fdf2 in mysql_parse (thd=thd@entry=0x15066c000d48, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x15069a236320) at /test/10.6_dbg/sql/sql_parse.cc:8199
|
#16 0x000055cc30b5e29f in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x15066c000d48, packet=packet@entry=0x15066c00ae89 "CREATE TABLE t SELECT 1", packet_length=packet_length@entry=23, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_class.h:1419
|
#17 0x000055cc30b609ab in do_command (thd=thd@entry=0x15066c000d48, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1422
|
#18 0x000055cc30cb1c0b in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55cc3369e598, put_in_cache=put_in_cache@entry=true) at /test/10.6_dbg/sql/sql_connect.cc:1386
|
#19 0x000055cc30cb20d9 in handle_one_connection (arg=0x55cc3369e598) at /test/10.6_dbg/sql/sql_connect.cc:1298
|
#20 0x00001506b2bc2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#21 0x00001506b2793133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.6.21 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.28 (dbg), 10.5.28 (opt), 10.6.21 (opt), 10.11.11 (dbg), 10.11.11 (opt), 11.4.5 (dbg), 11.4.5 (opt), 11.7.1 (dbg), 11.7.1 (opt), 11.8.0 (dbg), 11.8.0 (opt)