summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000010.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000010.test')
-rw-r--r--mysql-test/t/rpl000010.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000010.test b/mysql-test/t/rpl000010.test
new file mode 100644
index 00000000000..6b5ec69fb5f
--- /dev/null
+++ b/mysql-test/t/rpl000010.test
@@ -0,0 +1,13 @@
+#this tests the offset off by 22 mystery bug
+#must run slave with --disconnect-slave-event-count=1 --master-connect-retry=1
+source include/master-slave.inc;
+connection slave;
+drop table if exists foo;
+connection master;
+drop table if exists foo;
+create table foo (n int not null auto_increment primary key);
+insert into foo values(NULL);
+insert into foo values(2);
+connection slave;
+sleep 5;
+@r/rpl000010.result select n from foo;