1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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:
Sergei Golubchik
2011-12-15 22:07:58 +01:00
parent b86ba751da
commit 1efdd5a572
147 changed files with 1039 additions and 985 deletions

View File

@@ -26,11 +26,11 @@ 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";
--disable_warnings
CREATE TRIGGER t1_ai AFTER INSERT ON crashed FOR EACH ROW INSERT INTO t2 VALUES(29);
--enable_warnings
SET GLOBAL debug=@orig_debug;
SET GLOBAL debug_dbug=@orig_debug;
--error ER_TABLE_NOT_LOCKED
INSERT INTO t4 VALUES (39);
--error ER_TABLE_NOT_LOCKED