summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_replicate_do.test
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-09-02 11:01:00 +0200
committerunknown <lars@mysql.com>2005-09-02 11:01:00 +0200
commita03acb3cb563d1fca182d358f2eb69890ca6ef4e (patch)
tree81b10f3950722872a2190f12419c6a2e89d7f6d2 /mysql-test/t/rpl_replicate_do.test
parentb287e9e5202cdf8c5f7b1fe3f8fad4b3d0d3e05b (diff)
parentee436f7c4a18e66c0195376b71289075ce88ec1e (diff)
downloadmariadb-git-a03acb3cb563d1fca182d358f2eb69890ca6ef4e.tar.gz
Merge mysql.com:/users/lthalmann/bk/mysql-4.1
into mysql.com:/users/lthalmann/bk/mysql-5.0 mysql-test/t/rpl_replicate_do.test: Auto merged scripts/Makefile.am: Auto merged Makefile.am: Manual merge mysql-test/r/rpl_replicate_do.result: Manual merge sql/log_event.cc: Manual merge sql/sql_parse.cc: Manual merge
Diffstat (limited to 'mysql-test/t/rpl_replicate_do.test')
-rw-r--r--mysql-test/t/rpl_replicate_do.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_replicate_do.test b/mysql-test/t/rpl_replicate_do.test
index ff5af71ea5b..b8559af2394 100644
--- a/mysql-test/t/rpl_replicate_do.test
+++ b/mysql-test/t/rpl_replicate_do.test
@@ -36,4 +36,22 @@ sync_with_master;
--replace_column 1 # 8 # 9 # 23 # 33 #
show slave status;
+#
+# BUG#12542
+# TEST: "SET ONE_SHOT should always be executed on slave"
+#
+# We could use any timezone different than server default in this test
+#
+connection master;
+create table t1 (ts timestamp);
+set one_shot time_zone='met';
+insert into t1 values('2005-08-12 00:00:00');
+set one_shot time_zone='met';
+select * from t1;
+sync_slave_with_master;
+
+connection slave;
+set one_shot time_zone='met';
+select * from t1;
+
# End of 4.1 tests