mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -10,9 +10,9 @@ INSERT INTO crashed VALUES (10);
|
||||
INSERT INTO t2 VALUES (20);
|
||||
INSERT INTO t3 VALUES (30);
|
||||
LOCK TABLES t3 WRITE, t2 WRITE, t4 WRITE, crashed WRITE;
|
||||
SET GLOBAL debug="+d,myisam_pretend_crashed_table_on_open";
|
||||
SET GLOBAL debug_dbug="+d,myisam_pretend_crashed_table_on_open";
|
||||
CREATE TRIGGER t1_ai AFTER INSERT ON crashed FOR EACH ROW INSERT INTO t2 VALUES(29);
|
||||
SET GLOBAL debug=@orig_debug;
|
||||
SET GLOBAL debug_dbug=@orig_debug;
|
||||
INSERT INTO t4 VALUES (39);
|
||||
ERROR HY000: Table 'crashed' was not locked with LOCK TABLES
|
||||
INSERT INTO crashed VALUES (11);
|
||||
|
Reference in New Issue
Block a user