diff options
author | Alice Sherepa <alice.sherepa@gmail.com> | 2019-12-23 21:48:59 +0100 |
---|---|---|
committer | Alice Sherepa <alice.sherepa@gmail.com> | 2020-01-15 18:06:24 +0100 |
commit | 451573fab1071afe2f82a3bf65f5b14fa0125d16 (patch) | |
tree | 1a05e0c10072f04994a07d47a596ece64930f872 /mysql-test/suite/innodb_fts/t/concurrent_insert.test | |
parent | 800d1f3010e5b34b343008514017a29fa6ce7fd5 (diff) | |
download | mariadb-git-451573fab1071afe2f82a3bf65f5b14fa0125d16.tar.gz |
MDEV-21360 debug_dbug pre-test value restoration issues
Diffstat (limited to 'mysql-test/suite/innodb_fts/t/concurrent_insert.test')
-rw-r--r-- | mysql-test/suite/innodb_fts/t/concurrent_insert.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/suite/innodb_fts/t/concurrent_insert.test b/mysql-test/suite/innodb_fts/t/concurrent_insert.test index 77097d44dc5..881441b66b6 100644 --- a/mysql-test/suite/innodb_fts/t/concurrent_insert.test +++ b/mysql-test/suite/innodb_fts/t/concurrent_insert.test @@ -29,6 +29,7 @@ CREATE TABLE t2 (f1 char(100), FULLTEXT idx1(f1))ENGINE=InnoDB; INSERT INTO t2 VALUES('mariadb'); connection default; +set @saved_dbug = @@global.debug_dbug; SET GLOBAL debug_dbug ='+d,fts_instrument_sync_request,ib_optimize_wq_hang'; SET DEBUG_SYNC= 'fts_instrument_sync_request SIGNAL drop_index_start WAIT_FOR sync_op'; @@ -45,7 +46,7 @@ set DEBUG_SYNC= 'now SIGNAL fts_drop_index'; connection con1; reap; -SET global DEBUG_DBUG=RESET; +set @@global.debug_dbug = @saved_dbug; drop table t1, t2; connection default; set DEBUG_SYNC=RESET; |