From dd1ef14cfed497b706ef65d6eca8879953d5b873 Mon Sep 17 00:00:00 2001 From: "lars/lthalmann@mysql.com/dl145h.mysql.com" <> Date: Sat, 31 Mar 2007 12:56:03 +0200 Subject: [PATCH] Avoiding SESSION with debug, since it does not work in valgrind --- mysql-test/r/rpl_incident.result | 4 ++-- mysql-test/t/rpl_incident.test | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mysql-test/r/rpl_incident.result b/mysql-test/r/rpl_incident.result index 70086c1e848..1d9d9202f6c 100644 --- a/mysql-test/r/rpl_incident.result +++ b/mysql-test/r/rpl_incident.result @@ -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 diff --git a/mysql-test/t/rpl_incident.test b/mysql-test/t/rpl_incident.test index 9c30d29b6fd..3629848c826 100644 --- a/mysql-test/t/rpl_incident.test +++ b/mysql-test/t/rpl_incident.test @@ -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;