2000-12-07 15:54:59 +01:00
|
|
|
source include/master-slave.inc;
|
2000-11-18 07:35:40 +01:00
|
|
|
connection master;
|
|
|
|
use test;
|
|
|
|
drop table if exists words;
|
|
|
|
create table words (word char(20) not null);
|
2000-12-07 15:54:59 +01:00
|
|
|
load data infile '../../std_data/words.dat' into table words;
|
2000-11-18 07:35:40 +01:00
|
|
|
drop table if exists foo;
|
|
|
|
create table foo(n int);
|
|
|
|
insert into foo values(1),(2);
|
|
|
|
connection slave;
|
2000-12-02 18:11:50 +01:00
|
|
|
sleep 2;
|
2000-11-18 07:35:40 +01:00
|
|
|
use test;
|
2000-12-07 15:54:59 +01:00
|
|
|
@r/rpl000001.a.result select * from foo;
|
|
|
|
@r/rpl000001.b.result select sum(length(word)) from words;
|
2000-11-18 07:35:40 +01:00
|
|
|
|