summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000001.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl000001.test')
-rw-r--r--mysql-test/t/rpl000001.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000001.test b/mysql-test/t/rpl000001.test
new file mode 100644
index 00000000000..5bf0e0dbab5
--- /dev/null
+++ b/mysql-test/t/rpl000001.test
@@ -0,0 +1,15 @@
+source include/master-slave.inc;
+connection master;
+use test;
+drop table if exists words;
+create table words (word char(20) not null);
+load data infile '../../std_data/words.dat' into table words;
+drop table if exists foo;
+create table foo(n int);
+insert into foo values(1),(2);
+connection slave;
+sleep 2;
+use test;
+@r/rpl000001.a.result select * from foo;
+@r/rpl000001.b.result select sum(length(word)) from words;
+