summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000006.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000006.test')
-rw-r--r--mysql-test/t/rpl000006.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000006.test b/mysql-test/t/rpl000006.test
new file mode 100644
index 00000000000..56971cd049c
--- /dev/null
+++ b/mysql-test/t/rpl000006.test
@@ -0,0 +1,12 @@
+source include/master-slave.inc;
+connection master;
+set SQL_LOG_BIN=0;
+set timestamp=200006;
+drop table if exists foo;
+create table foo(t timestamp not null,a char(1));
+insert into foo ( a) values ('F');
+@r/rpl000006.result select unix_timestamp(t) from foo;
+connection slave;
+drop table if exists foo;
+load table foo from master;
+@r/rpl000006.result select unix_timestamp(t) from foo;