mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix merge-big.test to properly restore debug settings.
Otherwise following tests go crazy in the log, writing gigabytes of data and causing havoc.
This commit is contained in:
@ -7,6 +7,7 @@ drop table if exists t1,t2,t3,t4,t5,t6;
|
||||
CREATE TABLE t1 (c1 INT) ENGINE= MyISAM;
|
||||
LOCK TABLE t1 WRITE;
|
||||
# connection con1
|
||||
SET @orig_debug=@@debug;
|
||||
SET GLOBAL debug="+d,sleep_open_and_lock_after_open";
|
||||
INSERT INTO t1 VALUES (1);
|
||||
# connection default
|
||||
@ -21,6 +22,6 @@ SELECT * FROM t1;
|
||||
c1
|
||||
UNLOCK TABLES;
|
||||
# connection con1
|
||||
SET GLOBAL debug="-d,sleep_open_and_lock_after_open";
|
||||
SET GLOBAL debug=@orig_debug;
|
||||
# connection default
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user