Skip to content

Commit

Permalink
MDEV-27575 Add sleeping statement spider/bugfix.mdev_27575
Browse files Browse the repository at this point in the history
This could help prevent race condition when shutting down the server
not long after loading spider. Thus only needed for 10.4-10.6.
  • Loading branch information
mariadb-YuchenPei committed Nov 24, 2023
1 parent 64f44b2 commit ed0ab6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage/spider/mysql-test/spider/bugfix/r/mdev_27575.result
Expand Up @@ -5,8 +5,14 @@ for master_1
for child2
for child3
SET GLOBAL default_tmp_storage_engine=spider;
SELECT SLEEP(1);
SLEEP(1)
0
# restart
SET GLOBAL default_storage_engine=Spider;
SELECT SLEEP(1);
SLEEP(1)
0
# restart
for master_1
for child2
Expand Down
2 changes: 2 additions & 0 deletions storage/spider/mysql-test/spider/bugfix/t/mdev_27575.test
Expand Up @@ -8,9 +8,11 @@
--enable_query_log

SET GLOBAL default_tmp_storage_engine=spider;
SELECT SLEEP(1);
--source include/restart_mysqld.inc

SET GLOBAL default_storage_engine=Spider;
SELECT SLEEP(1);
--source include/restart_mysqld.inc

--disable_query_log
Expand Down

0 comments on commit ed0ab6e

Please sign in to comment.