mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Avoiding SESSION with debug, since it does not work in valgrind
This commit is contained in:

parent
2f0ecd6a14
commit
dd1ef14cfe
@@ -13,9 +13,9 @@ a
|
|||||||
2
|
2
|
||||||
3
|
3
|
||||||
SET @saved = @@debug;
|
SET @saved = @@debug;
|
||||||
SET SESSION debug="d,incident_database_resync_on_replace";
|
SET GLOBAL debug="d,incident_database_resync_on_replace";
|
||||||
REPLACE INTO t1 VALUES (4);
|
REPLACE INTO t1 VALUES (4);
|
||||||
SET SESSION debug=@saved;
|
SET GLOBAL debug=@saved;
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
|
@@ -8,12 +8,12 @@ INSERT INTO t1 VALUES (1),(2),(3);
|
|||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
|
|
||||||
SET @saved = @@debug;
|
SET @saved = @@debug;
|
||||||
SET SESSION debug="d,incident_database_resync_on_replace";
|
SET GLOBAL debug="d,incident_database_resync_on_replace";
|
||||||
|
|
||||||
# This will generate an incident log event and store it in the binary
|
# This will generate an incident log event and store it in the binary
|
||||||
# log before the replace statement.
|
# log before the replace statement.
|
||||||
REPLACE INTO t1 VALUES (4);
|
REPLACE INTO t1 VALUES (4);
|
||||||
SET SESSION debug=@saved;
|
SET GLOBAL debug=@saved;
|
||||||
--save_master_pos
|
--save_master_pos
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user