1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Avoiding SESSION with debug, since it does not work in valgrind

This commit is contained in:
lars/lthalmann@mysql.com/dl145h.mysql.com
2007-03-31 12:56:03 +02:00
parent 2f0ecd6a14
commit dd1ef14cfe
2 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ a
2
3
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);
SET SESSION debug=@saved;
SET GLOBAL debug=@saved;
SELECT * FROM t1;
a
1

View File

@ -8,12 +8,12 @@ INSERT INTO t1 VALUES (1),(2),(3);
SELECT * FROM t1;
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
# log before the replace statement.
REPLACE INTO t1 VALUES (4);
SET SESSION debug=@saved;
SET GLOBAL debug=@saved;
--save_master_pos
SELECT * FROM t1;