summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000011.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-12-07 07:54:59 -0700
committersasha@mysql.sashanet.com <>2000-12-07 07:54:59 -0700
commitec1359416be7cec52f94dc4f7d6fabb2d406d416 (patch)
treeef39d8dcdf72e86ba28a8083870495ea8e17395c /mysql-test/t/rpl000011.test
parenta5c75df390e9b67454bd0a04e75583057e9579f7 (diff)
downloadmariadb-git-ec1359416be7cec52f94dc4f7d6fabb2d406d416.tar.gz
fixed up mysql-test - will not push this yet, as more clean up/testing is to follow
Diffstat (limited to 'mysql-test/t/rpl000011.test')
-rw-r--r--mysql-test/t/rpl000011.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000011.test b/mysql-test/t/rpl000011.test
new file mode 100644
index 00000000000..f0776136541
--- /dev/null
+++ b/mysql-test/t/rpl000011.test
@@ -0,0 +1,18 @@
+source include/master-slave.inc;
+connection master;
+use test;
+drop table if exists foo;
+create table foo (n int);
+insert into foo values(1);
+connection slave;
+#give slave some breathing room to get started
+sleep 1;
+slave stop;
+slave start;
+connection master;
+insert into foo values(2);
+connection slave;
+#let slave catch up
+sleep 1;
+@r/rpl000011.result select * from foo;
+