summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000007.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000007.test')
-rw-r--r--mysql-test/t/rpl000007.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000007.test b/mysql-test/t/rpl000007.test
new file mode 100644
index 00000000000..2a3748868d3
--- /dev/null
+++ b/mysql-test/t/rpl000007.test
@@ -0,0 +1,19 @@
+#this one assumes we are ignoring updates on table foo, but doing
+#the ones on bar
+source include/master-slave.inc;
+connection slave;
+use test;
+drop table if exists foo;
+create table foo (n int);
+insert into foo values(4);
+connection master;
+use test;
+drop table if exists foo;
+create table foo (n int);
+insert into foo values(5);
+drop table if exists bar;
+create table bar (m int);
+insert into bar values(15);
+connection slave;
+sleep 1;
+@r/rpl000007.result select foo.n,bar.m from foo,bar;