mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
GLOBAL DEBUG variable does not work
This commit is contained in:
parent
04844b07a4
commit
7705946d3d
3 changed files with 1 additions and 7 deletions
|
@ -12,10 +12,7 @@ a
|
|||
1
|
||||
2
|
||||
3
|
||||
SET @saved = @@debug;
|
||||
SET GLOBAL debug="d,incident_database_resync_on_replace";
|
||||
REPLACE INTO t1 VALUES (4);
|
||||
SET GLOBAL debug=@saved;
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
1
|
||||
|
|
1
mysql-test/t/rpl_incident-master.opt
Normal file
1
mysql-test/t/rpl_incident-master.opt
Normal file
|
@ -0,0 +1 @@
|
|||
--loose-debug=+d,incident_database_resync_on_replace
|
|
@ -7,13 +7,9 @@ CREATE TABLE t1 (a INT);
|
|||
INSERT INTO t1 VALUES (1),(2),(3);
|
||||
SELECT * FROM t1;
|
||||
|
||||
SET @saved = @@debug;
|
||||
SET GLOBAL debug="d,incident_database_resync_on_replace";
|
||||
|
||||
# This will generate an incident log event and store it in the binary
|
||||
# log before the replace statement.
|
||||
REPLACE INTO t1 VALUES (4);
|
||||
SET GLOBAL debug=@saved;
|
||||
--save_master_pos
|
||||
SELECT * FROM t1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue