Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
13.1
-
Not for Release Notes
Description
ANALYZE SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='no_such_db_at_all'; |
Leads to
|
MDEV-31342 CS 13.1.0 26843b29076c4dfcd39472e5a1f320c4998773e4 (Debug, Clang 18.1.3-11) Build 16/09/2026 |
mariadbd: /test/mtest/MDEV-31342/13.1_dbg/sql/sql_error.cc:397: void Diagnostics_area::set_eof_status(THD *): Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed.
|
|
MDEV-31342 CS 13.1.0 26843b29076c4dfcd39472e5a1f320c4998773e4 (Debug, Clang 18.1.3-11) Build 16/09/2026 |
Core was generated by `/test/mtest/MDEV-31342/MD160926-mariadb-13.1.0-linux-x86_64-dbg/bin/mariadbd --'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
|
|
[Current thread is 1 (LWP 4028181)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x000072a6c124527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000072a6c12288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000072a6c122881b in __assert_fail_base (fmt=0x72a6c13d1208 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x625c35672311 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=file@entry=0x625c35672123 "/test/mtest/MDEV-31342/13.1_dbg/sql/sql_error.cc", line=line@entry=397, function=function@entry=0x625c35672348 "void Diagnostics_area::set_eof_status(THD *)") at ./assert/assert.c:96
|
#6 0x000072a6c123b517 in __assert_fail (assertion=0x625c35672311 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x625c35672123 "/test/mtest/MDEV-31342/13.1_dbg/sql/sql_error.cc", line=397, function=0x625c35672348 "void Diagnostics_area::set_eof_status(THD *)")at ./assert/assert.c:105
|
#7 0x0000625c344a154b in Diagnostics_area::set_eof_status (this=0x6aa5880071a8, thd=0x6aa588000d60)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_error.cc:397
|
#8 0x0000625c3439f6f1 in my_eof (thd=0x6aa588000d60)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_class.h:6628
|
#9 0x0000625c3447288a in select_send::send_eof (this=0x6aa588021ba0)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_class.cc:3447
|
#10 0x0000625c347533cb in Explain_query::send_explain (this=0x6aa58801d360, thd=0x6aa588000d60, extended=false)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_explain.cc:228
|
#11 0x0000625c34522c80 in execute_sqlcom_select (thd=0x6aa588000d60, all_tables=0x6aa58801ac40)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_parse.cc:6231
|
#12 0x0000625c3451770d in mysql_execute_command (thd=0x6aa588000d60, is_called_from_prepared_stmt=false)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_parse.cc:3991
|
#13 0x0000625c3450f814 in mysql_parse (thd=0x6aa588000d60, rawbuf=0x6aa58801a430 "ANALYZE SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES\n WHERE TABLE_SCHEMA='no_such_db_at_all'", length=99, parser_state=0x72a698bd9a80)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_parse.cc:7958
|
#14 0x0000625c3450cb3d in dispatch_command (command=COM_QUERY, thd=0x6aa588000d60, packet=0x6aa58800b661 "", packet_length=99, blocking=true) at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_parse.cc:1903
|
#15 0x0000625c345103c3 in do_command (thd=0x6aa588000d60, blocking=true)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_parse.cc:1437
|
#16 0x0000625c347115a9 in do_handle_one_connection (connect=0x625c373fc4f0, put_in_cache=true)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_connect.cc:1510
|
#17 0x0000625c3471134e in handle_one_connection (arg=0x625c374a0070)at /test/mtest/MDEV-31342/13.1_dbg/sql/sql_connect.cc:1422
|
#18 0x000072a6c129cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#19 0x000072a6c1329ecc in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Attachments
Issue Links
- blocks
-
MDEV-31342 I_S optimization: avoid temp table
-
- In Testing
-