Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11, 11.2(EOL), 11.4, 11.6(EOL), 11.7
Description
INSTALL PLUGIN Spider SONAME 'ha_spider.so'; |
GRANT ALL ON * TO Spider@localhost; |
CREATE SERVER srv FOREIGN DATA WRAPPER mysql OPTIONS (SOCKET '../socket.sock',DATABASE'',USER 'Spider',PASSWORD''); |
CREATE TABLE t (c1 INT,c2 INT) ENGINE=Spider COMMENT='WRAPPER "mysql",SRV "srv",TABLE "foo"'; |
SET GLOBAL init_connect='SET autocomit=0'; |
SET autocommit=0; |
INSERT INTO t VALUES (0); |
CREATE SERVER s2 FOREIGN DATA WRAPPER mysql OPTIONS (HOST''); |
Leads to:
CS 11.2.6 12a91b57e27b979819924cf89614e6e51f24b37b (Debug) |
mariadbd: /test/11.2_dbg/sql/sql_error.cc:348: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
|
CS 11.2.6 12a91b57e27b979819924cf89614e6e51f24b37b (Debug) |
Core was generated by `/test/MD141024-mariadb-11.2.6-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
|
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 3846124)]
|
(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 0x000015125324526e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00001512532288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000015125322881b in __assert_fail_base (fmt=0x1512533d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x561f142fe528 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=file@entry=0x561f142fe408 "/test/11.2_dbg/sql/sql_error.cc", line=line@entry=348, function=function@entry=0x561f142fe560 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:94
|
#6 0x000015125323b507 in __assert_fail (assertion=0x561f142fe528 "!is_set() || (m_status == DA_OK_BULK && is_bulk_op())", file=0x561f142fe408 "/test/11.2_dbg/sql/sql_error.cc", line=348, function=0x561f142fe560 "void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*)") at ./assert/assert.c:103
|
#7 0x0000561f1359a698 in Diagnostics_area::set_ok_status (this=0x1511f8006f58, affected_rows=affected_rows@entry=0, last_insert_id=last_insert_id@entry=0, message=message@entry=0x0)at /test/11.2_dbg/sql/sql_error.cc:348
|
#8 0x0000561f1375c061 in my_ok (message=0x0, id=0, affected_rows_arg=0, thd=0x1511f8000d58) at /test/11.2_dbg/sql/sql_class.h:4561
|
#9 create_server (thd=thd@entry=0x1511f8000d58, server_options=server_options@entry=0x1511f80069f0)at /test/11.2_dbg/sql/sql_servers.cc:1131
|
#10 0x0000561f135ec6c2 in mysql_execute_command (thd=thd@entry=0x1511f8000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.2_dbg/sql/sql_parse.cc:5821
|
#11 0x0000561f135ee2ce in mysql_parse (thd=thd@entry=0x1511f8000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x15124a3682a0)at /test/11.2_dbg/sql/sql_parse.cc:7938
|
#12 0x0000561f135f0786 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1511f8000d58, packet=packet@entry=0x1511f800b319 "CREATE SERVER s2 FOREIGN DATA WRAPPER mysql OPTIONS (HOST'')", packet_length=packet_length@entry=60, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_class.h:248
|
#13 0x0000561f135f29c2 in do_command (thd=0x1511f8000d58, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_parse.cc:1407
|
#14 0x0000561f1375ffe7 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x561f163b50b8, put_in_cache=put_in_cache@entry=true)at /test/11.2_dbg/sql/sql_connect.cc:1439
|
#15 0x0000561f137602ef in handle_one_connection (arg=arg@entry=0x561f163b50b8)at /test/11.2_dbg/sql/sql_connect.cc:1341
|
#16 0x0000561f13ba7f14 in pfs_spawn_thread (arg=0x561f16384278)at /test/11.2_dbg/storage/perfschema/pfs.cc:2201
|
#17 0x000015125329ca94 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#18 0x0000151253329c3c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug confirmed present in:
MariaDB: 10.11.10 (dbg), 11.2.6 (dbg), 11.4.4 (dbg), 11.6.2 (dbg), 11.7.0 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.27 (dbg), 10.5.27 (opt), 10.6.20 (dbg), 10.6.20 (opt), 10.11.10 (opt), 11.2.6 (opt), 11.4.4 (opt), 11.6.2 (opt), 11.7.0 (opt)