2000-12-07 07:54:59 -07:00
|
|
|
source include/master-slave.inc;
|
2000-11-17 23:35:40 -07:00
|
|
|
connection master;
|
|
|
|
use test;
|
|
|
|
set SQL_LOG_BIN=0;
|
|
|
|
drop table if exists words;
|
|
|
|
create table words (word char(20) not null, index(word));
|
2000-12-07 07:54:59 -07:00
|
|
|
load data infile '../../std_data/words.dat' into table words;
|
2000-11-17 23:35:40 -07:00
|
|
|
drop table if exists words1;
|
|
|
|
create table words1 (word char(20) not null);
|
2000-12-07 07:54:59 -07:00
|
|
|
load data infile '../../std_data/words.dat' into table words1;
|
2000-11-17 23:35:40 -07:00
|
|
|
connection slave;
|
|
|
|
use test;
|
|
|
|
drop table if exists words;
|
|
|
|
load table words from master;
|
|
|
|
drop table if exists words1;
|
|
|
|
load table words1 from master;
|
2000-12-07 07:54:59 -07:00
|
|
|
@r/rpl000004.a.result check table words;
|
|
|
|
@r/rpl000004.b.result select count(*) from words1;
|