summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_row_index_choice.test
diff options
context:
space:
mode:
authorAlice Sherepa <alice.sherepa@gmail.com>2020-01-09 13:38:48 +0100
committerAlice Sherepa <alice.sherepa@gmail.com>2020-01-15 18:06:24 +0100
commitb7fb30e930d544897fc13e817ded44557c882c91 (patch)
tree55664d02a70f200f747b1c1813888d3942b5f636 /mysql-test/suite/rpl/t/rpl_row_index_choice.test
parent451573fab1071afe2f82a3bf65f5b14fa0125d16 (diff)
downloadmariadb-git-b7fb30e930d544897fc13e817ded44557c882c91.tar.gz
MDEV-21360 global debug_dbug pre-test value restoration issues
Diffstat (limited to 'mysql-test/suite/rpl/t/rpl_row_index_choice.test')
-rw-r--r--mysql-test/suite/rpl/t/rpl_row_index_choice.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_row_index_choice.test b/mysql-test/suite/rpl/t/rpl_row_index_choice.test
index 89b14add3b0..958fa2352c2 100644
--- a/mysql-test/suite/rpl/t/rpl_row_index_choice.test
+++ b/mysql-test/suite/rpl/t/rpl_row_index_choice.test
@@ -47,7 +47,7 @@ sync_slave_with_master;
connection slave;
ANALYZE TABLE t2;
--echo # Slave will crash if using the wrong or no index
-set @saved_dbug = @@global.debug_dbug;
+SET @saved_dbug = @@GLOBAL.debug_dbug;
SET GLOBAL debug_dbug="+d,slave_crash_if_wrong_index,slave_crash_if_table_scan";
connection master;
@@ -239,5 +239,5 @@ connection master;
DROP TABLE t1;
sync_slave_with_master;
connection slave;
-set @@global.debug_dbug = @saved_dbug;
+SET @@GLOBAL.debug_dbug = @saved_dbug;
--source include/rpl_end.inc