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:
@ -2,12 +2,12 @@ CREATE TABLE t1(id INT);
|
||||
INSERT INTO t1 VALUES (1),(2),(3),(4);
|
||||
INSERT INTO t1 SELECT a.id FROM t1 a,t1 b,t1 c,t1 d;
|
||||
SET @orig_debug=@@debug;
|
||||
SET GLOBAL debug="d,subselect_exec_fail";
|
||||
SET GLOBAL debug_dbug="d,subselect_exec_fail";
|
||||
SELECT SUM(EXISTS(SELECT RAND() FROM t1)) FROM t1;
|
||||
SUM(EXISTS(SELECT RAND() FROM t1))
|
||||
0
|
||||
SELECT REVERSE(EXISTS(SELECT RAND() FROM t1));
|
||||
REVERSE(EXISTS(SELECT RAND() FROM t1))
|
||||
0
|
||||
SET GLOBAL debug=@orig_debug;
|
||||
SET GLOBAL debug_dbug=@orig_debug;
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user