summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_variables.test
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-11-15 10:23:27 +0100
committermsvensson@neptunus.(none) <>2006-11-15 10:23:27 +0100
commit15c3ed7517aeb7cc89277afc8beaf3d610cf02f8 (patch)
tree7a8705274fa8b0035377163641ecf440b1e5e39c /mysql-test/t/rpl_variables.test
parenta0f00ce965405e0ff01db91b7642b406f5129779 (diff)
downloadmariadb-git-15c3ed7517aeb7cc89277afc8beaf3d610cf02f8.tar.gz
Cleanup after test cases
Diffstat (limited to 'mysql-test/t/rpl_variables.test')
-rw-r--r--mysql-test/t/rpl_variables.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_variables.test b/mysql-test/t/rpl_variables.test
index 57ae2b9c3c4..d0801e524e4 100644
--- a/mysql-test/t/rpl_variables.test
+++ b/mysql-test/t/rpl_variables.test
@@ -1,5 +1,8 @@
source include/master-slave.inc;
+# Init for rstore of variable values
+set @my_slave_net_timeout =@@global.slave_net_timeout;
+
set global slave_net_timeout=100;
set global sql_slave_skip_counter=100;
@@ -12,3 +15,6 @@ show variables like 'slave_load_tmpdir';
# We just set some arbitrary values in variables-master.opt so we can test
# that a list of values works correctly
show variables like 'slave_skip_errors';
+
+# Restore touched values
+set global slave_net_timeout =@my_slave_net_timeout;