Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.1(EOL), 11.2(EOL), 11.4, 11.5(EOL), 11.6(EOL)
Description
INSTALL PLUGIN Spider SONAME 'ha_spider.so'; |
CREATE SERVER srv FOREIGN DATA WRAPPER MYSQL OPTIONS (SOCKET '../socket.sock',DATABASE'',USER'',PASSWORD''); |
CREATE TABLE ti (c INT) ENGINE=InnoDB; |
CREATE TABLE t (c INT) ENGINE=Spider COMMENT='WRAPPER "mysql",SRV "srv",TABLE "ti"'; |
LOCK TABLES t WRITE;
|
ALTER TABLE t ENGINE=InnoDB; |
Leads to:
CS 10.6.20 2e580dc2a8da4aaf3a7f1b3cfb4f897dbb5f7089 (Debug) |
mariadbd: /test/10.6_dbg/sql/sql_error.cc:334: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
|
CS 10.6.20 2e580dc2a8da4aaf3a7f1b3cfb4f897dbb5f7089 (Debug) |
Core was generated by `/test/MD190824-mariadb-10.6.20-linux-x86_64-dbg/bin/mariadbd --no-defaults --ma'.
|
Program terminated with signal SIGABRT, Aborted.
|
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
 |
[Current thread is 1 (LWP 1352901)]
|
(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 0x00001534a364526e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00001534a36288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x00001534a362881b in __assert_fail_base (fmt=0x1534a37d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5650618a0360 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=file@entry=0x5650618a0240 "/test/10.6_dbg/sql/sql_error.cc", line=line@entry=334, function=function@entry=0x5650618a0398 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:94
|
#6 0x00001534a363b507 in __assert_fail (assertion=0x5650618a0360 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=0x5650618a0240 "/test/10.6_dbg/sql/sql_error.cc", line=334, function=0x5650618a0398 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:103
|
#7 0x0000565060b7d31a in Diagnostics_area::set_ok_status (this=0x153448006d28, affected_rows=0, last_insert_id=last_insert_id@entry=0, message=message@entry=0x1534a12fde20 "Records: 0 Duplicates: 0 Warnings: 2") at /test/10.6_dbg/sql/sql_error.cc:334
|
#8 0x0000565060b71030 in my_ok (message=0x1534a12fde20 "Records: 0 Duplicates: 0 Warnings: 2", id=0, affected_rows_arg=<optimized out>, thd=0x153448000d58)at /test/10.6_dbg/sql/sql_class.h:4540
|
#9 THD::my_ok_with_recreate_info (this=this@entry=0x153448000d58, info=@0x1534a1300200: {m_records_copied = 0, m_records_duplicate = 0}, warn_count=<optimized out>) at /test/10.6_dbg/sql/sql_class.cc:8596
|
#10 0x0000565060ca6975 in mysql_alter_table (thd=thd@entry=0x153448000d58, new_db=new_db@entry=0x1534480059f8, new_name=new_name@entry=0x153448005e60, create_info=create_info@entry=0x1534a13003b0, table_list=<optimized out>, table_list@entry=0x153448013548, recreate_info=recreate_info@entry=0x1534a1300200, alter_info=<optimized out>, order_num=<optimized out>, order=<optimized out>, ignore=<optimized out>, if_exists=<optimized out>)at /test/10.6_dbg/sql/sql_table.cc:11108
|
#11 0x0000565060d28232 in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x153448000d58) at /test/10.6_dbg/sql/sql_alter.cc:675
|
#12 0x0000565060bce139 in mysql_execute_command (thd=thd@entry=0x153448000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/10.6_dbg/sql/sql_parse.cc:6125
|
#13 0x0000565060bcfa74 in mysql_parse (thd=thd@entry=0x153448000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x1534a13012b0)at /test/10.6_dbg/sql/sql_parse.cc:8165
|
#14 0x0000565060bd1f0b in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x153448000d58, packet=packet@entry=0x15344800b0b9 "", packet_length=packet_length@entry=27, blocking=blocking@entry=true)at /test/10.6_dbg/sql/sql_class.h:242
|
#15 0x0000565060bd4132 in do_command (thd=0x153448000d58, blocking=blocking@entry=true) at /test/10.6_dbg/sql/sql_parse.cc:1410
|
#16 0x0000565060d1fd86 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5650639c0cd8, put_in_cache=put_in_cache@entry=true)at /test/10.6_dbg/sql/sql_connect.cc:1417
|
#17 0x0000565060d20086 in handle_one_connection (arg=arg@entry=0x5650639c0cd8)at /test/10.6_dbg/sql/sql_connect.cc:1319
|
#18 0x000056506116d0b6 in pfs_spawn_thread (arg=0x5650639bd928)at /test/10.6_dbg/storage/perfschema/pfs.cc:2201
|
#19 0x00001534a369ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#20 0x00001534a3729c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug confirmed present in:
MariaDB: 10.6.20 (dbg), 10.11.10 (dbg), 11.1.7 (dbg), 11.2.6 (dbg), 11.4.4 (dbg), 11.5.2 (dbg), 11.6.1 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.27 (dbg), 10.5.27 (opt), 10.6.20 (opt), 10.11.10 (opt), 11.1.7 (opt), 11.2.6 (opt), 11.4.4 (opt), 11.5.2 (opt), 11.6.1 (opt)
Attachments
Issue Links
- relates to
-
MDEV-33195 Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed in Diagnostics_area::set_ok_status on UPDATE
- Closed