mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21360 debug_dbug pre-test value restoration issues
This commit is contained in:
@ -17,6 +17,7 @@ INSERT INTO t1 VALUES('test');
|
||||
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';
|
||||
@ -28,7 +29,7 @@ ALTER TABLE t2 drop index idx1;
|
||||
connection default;
|
||||
set DEBUG_SYNC= 'now SIGNAL fts_drop_index';
|
||||
connection con1;
|
||||
SET global DEBUG_DBUG=RESET;
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
drop table t1, t2;
|
||||
connection default;
|
||||
set DEBUG_SYNC=RESET;
|
||||
|
Reference in New Issue
Block a user