Details
-
Bug
-
Status: Stalled (View Workflow)
-
Critical
-
Resolution: Unresolved
-
N/A
-
None
-
Not for Release Notes
-
Q4/2025 Server Maintenance
Description
--source include/have_binlog_format_row.inc
|
CREATE TABLE metrics LIKE information_schema.innodb_metrics; |
Leads to:
MDEV-35915-2 CS 12.0.1 f88831afe2e18d124dfeaaf15ac51725a319b8e2 (Debug, Clang 21.1.0-20250811) Build 06/09/2025 |
mariadbd: /test/bb-12.0-nikita-global-tmp_dbg/sql/temporary_tables.cc:516: bool THD::open_temporary_table(TABLE_LIST *): Assertion `has_temporary_tables() || (rgi_slave && rgi_slave->is_parallel_exec)' failed.
|
MDEV-35915-2 CS 12.0.1 f88831afe2e18d124dfeaaf15ac51725a319b8e2 (Debug, Clang 21.1.0-20250811) Build 06/09/2025 |
Core was generated by `/test/MDEV-35915_2_MD060925-mariadb-12.0.1-linux-x86_64-dbg/bin/mariadbd --no-d'.
|
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 3303571)]
|
(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 0x000074c40be4526e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000074c40be288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000074c40be2881b in __assert_fail_base (fmt=0x74c40bfd01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x643f985f9e5a "has_temporary_tables() || (rgi_slave && rgi_slave->is_parallel_exec)", file=file@entry=0x643f98756e74 "/test/bb-12.0-nikita-global-tmp_dbg/sql/temporary_tables.cc", line=line@entry=516, function=function@entry=0x643f98640ebe "bool THD::open_temporary_table(TABLE_LIST *)") at ./assert/assert.c:94
|
#6 0x000074c40be3b507 in __assert_fail (assertion=0x643f985f9e5a "has_temporary_tables() || (rgi_slave && rgi_slave->is_parallel_exec)", file=0x643f98756e74 "/test/bb-12.0-nikita-global-tmp_dbg/sql/temporary_tables.cc", line=516, function=0x643f98640ebe "bool THD::open_temporary_table(TABLE_LIST *)")at ./assert/assert.c:103
|
#7 0x0000643f9959f359 in THD::open_temporary_table (this=0x74c2d8000d58, tl=0x74c2d801a0f0)at /test/bb-12.0-nikita-global-tmp_dbg/sql/temporary_tables.cc:515
|
#8 0x0000643f9939f1b5 in mysql_create_like_table (thd=0x74c2d8000d58, table=0x74c2d801a0f0, src_table=0x74c2d801a8a8, create_info=0x74c3fd5fbfb8)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_table.cc:6036
|
#9 0x0000643f9939df54 in Sql_cmd_create_table_like::execute (this=0x74c2d801a068, thd=0x74c2d8000d58)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_table.cc:13879
|
#10 0x0000643f9926bc05 in mysql_execute_command (thd=0x74c2d8000d58, is_called_from_prepared_stmt=false)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_parse.cc:5865
|
#11 0x0000643f9925cea8 in mysql_parse (thd=0x74c2d8000d58, rawbuf=0x74c2d8019f90 "CREATE TABLE metrics LIKE information_schema.innodb_metrics", length=59, parser_state=0x74c3fd5fda10)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_parse.cc:7893
|
#12 0x0000643f9925a689 in dispatch_command (command=COM_QUERY, thd=0x74c2d8000d58, packet=0x74c2d800b309 "CREATE TABLE metrics LIKE information_schema.innodb_metrics", packet_length=59, blocking=true)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_parse.cc:1881
|
#13 0x0000643f9925d92a in do_command (thd=0x74c2d8000d58, blocking=true)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_parse.cc:1420
|
#14 0x0000643f9944ec1e in do_handle_one_connection (connect=0x643f9d1f9258, put_in_cache=true)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_connect.cc:1414
|
#15 0x0000643f9944ea01 in handle_one_connection (arg=0x643f9d1c38e8)at /test/bb-12.0-nikita-global-tmp_dbg/sql/sql_connect.cc:1326
|
#16 0x000074c40be9ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#17 0x000074c40bf29c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Attachments
Issue Links
- is caused by
-
MDEV-35915 Implement Global temporary tables
-
- In Testing
-