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
commit 1efdd5a572
147 changed files with 1039 additions and 985 deletions

View file

@ -923,7 +923,7 @@ END;
CLOSE c;
SELECT a INTO @foo FROM t1 LIMIT 1; # Clear warning stack
END|
SET SESSION debug="+d,bug23032_emit_warning";
SET SESSION debug_dbug="+d,bug23032_emit_warning";
CALL p1();
Warning found!
Warning found!
@ -942,6 +942,6 @@ End of Result Set found!
Level Code Message
Warning 1105 Unknown error
Error 1329 No data - zero rows fetched, selected, or processed
SET SESSION debug="-d,bug23032_emit_warning";
SET SESSION debug_dbug="-d,bug23032_emit_warning";
DROP PROCEDURE p1;
DROP TABLE t1;