summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_timezone.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-11-15 10:31:23 +0100
committerunknown <msvensson@neptunus.(none)>2006-11-15 10:31:23 +0100
commit4e0cace23d0f0dd61c288dbeb6447d80b025a924 (patch)
tree3cf80a037e826309a697cf8b347a929f0d8290bf /mysql-test/t/rpl_timezone.test
parent37b4ad8cca9c095507affbf024f2dd254371fcf1 (diff)
parent8b8647ff42757f0908340b054ec3d74c56ebfcb0 (diff)
downloadmariadb-git-4e0cace23d0f0dd61c288dbeb6447d80b025a924.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint mysql-test/extra/rpl_tests/rpl_deadlock.test: Auto merged mysql-test/extra/rpl_tests/rpl_max_relay_size.test: Auto merged mysql-test/r/key_cache.result: Auto merged mysql-test/r/rpl_deadlock_innodb.result: Auto merged mysql-test/r/rpl_sp.result: Auto merged mysql-test/r/rpl_stm_max_relay_size.result: Auto merged mysql-test/r/rpl_timezone.result: Auto merged mysql-test/r/type_float.result: Auto merged mysql-test/r/view_grant.result: Auto merged mysql-test/t/init_connect.test: Auto merged mysql-test/t/mysqldump.test: Auto merged mysql-test/t/view_grant.test: Auto merged mysql-test/r/mysqldump.result: Manual merge mysql-test/r/rpl_drop_db.result: Manual merge mysql-test/r/rpl_variables.result: Manual merge mysql-test/t/rpl_drop_db.test: Manual merge mysql-test/t/rpl_sp.test: Manual merge mysql-test/t/rpl_timezone.test: Manual merge mysql-test/t/rpl_variables.test: Manual merge
Diffstat (limited to 'mysql-test/t/rpl_timezone.test')
-rw-r--r--mysql-test/t/rpl_timezone.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_timezone.test b/mysql-test/t/rpl_timezone.test
index 5a6c1cd06f8..4b8c8152c82 100644
--- a/mysql-test/t/rpl_timezone.test
+++ b/mysql-test/t/rpl_timezone.test
@@ -17,6 +17,9 @@
source include/master-slave.inc;
+# Save original timezone
+set @my_time_zone= @@global.time_zone;
+
# Some preparations
let $VERSION=`select version()`;
set timestamp=100000000; # for fixed output of mysqlbinlog
@@ -133,3 +136,7 @@ connection master;
drop table t1, t2;
sync_slave_with_master;
+
+# Restore original timezone
+connection master;
+set global time_zone= @my_time_zone;