mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
rename debug variable to debug_dbug, to make test pass in release builds
(and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
This commit is contained in:
@@ -2,12 +2,12 @@ CALL mtr.add_suppression("Error writing file 'master-bin'");
|
||||
RESET MASTER;
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
|
||||
INSERT INTO t1 VALUES(0);
|
||||
SET SESSION debug='+d,fail_binlog_write_1';
|
||||
SET SESSION debug_dbug='+d,fail_binlog_write_1';
|
||||
INSERT INTO t1 VALUES(1);
|
||||
ERROR HY000: Error writing file 'master-bin' (errno: 28)
|
||||
INSERT INTO t1 VALUES(2);
|
||||
ERROR HY000: Error writing file 'master-bin' (errno: 28)
|
||||
SET SESSION debug='';
|
||||
SET SESSION debug_dbug='';
|
||||
INSERT INTO t1 VALUES(3);
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
|
Reference in New Issue
Block a user