summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000001.test
blob: 426624ee98928ec24fdf0d83185e5f1758ca9558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
source include/master-slave.inc;
connection master;
use test;
drop table if exists t1;
create table t1 (word char(20) not null);
load data infile '../../std_data/words.dat' into table t1;
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 t1;
connection master;
drop table t1;