Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-27575 Remove thd from spider_db_done
It is unused, and causing segfaults
- Loading branch information
1 parent
d415f60
commit 9656573
Showing
3 changed files
with
40 additions
and
21 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
storage/spider/mysql-test/spider/bugfix/r/mdev_27575.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# MDEV-27575 Spider: UBSAN member access within null pointer of type 'struct st_plugin_int and SIGSEGV in intern_plugin_lock on SHUTDOWN when setting Spider as default storage engine (temporary or global) | ||
# | ||
for master_1 | ||
for child2 | ||
for child3 | ||
SET GLOBAL default_tmp_storage_engine=spider; | ||
# restart | ||
SET GLOBAL default_storage_engine=Spider; | ||
# restart | ||
for master_1 | ||
for child2 | ||
for child3 | ||
# | ||
# end of test mdev_27575 | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--echo # | ||
--echo # MDEV-27575 Spider: UBSAN member access within null pointer of type 'struct st_plugin_int and SIGSEGV in intern_plugin_lock on SHUTDOWN when setting Spider as default storage engine (temporary or global) | ||
--echo # | ||
--disable_query_log | ||
--disable_result_log | ||
--source ../../t/test_init.inc | ||
--enable_result_log | ||
--enable_query_log | ||
|
||
SET GLOBAL default_tmp_storage_engine=spider; | ||
--source include/restart_mysqld.inc | ||
|
||
SET GLOBAL default_storage_engine=Spider; | ||
--source include/restart_mysqld.inc | ||
|
||
--disable_query_log | ||
--disable_result_log | ||
--source ../../t/test_deinit.inc | ||
--enable_result_log | ||
--enable_query_log | ||
--echo # | ||
--echo # end of test mdev_27575 | ||
--echo # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters