2002-10-24 17:46:14 -06:00
|
|
|
stop slave;
|
2002-08-08 03:12:02 +03:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2001-09-27 23:05:54 -06:00
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2002-10-24 17:46:14 -06:00
|
|
|
start slave;
|
2001-09-27 23:05:54 -06:00
|
|
|
set SQL_LOG_BIN=0;
|
|
|
|
create table t1 (word char(20) not null, index(word));
|
|
|
|
load data infile '../../std_data/words.dat' into table t1;
|
|
|
|
create table t2 (word char(20) not null);
|
|
|
|
load data infile '../../std_data/words.dat' into table t2;
|
|
|
|
create table t3 (word char(20) not null primary key);
|
|
|
|
load table t1 from master;
|
|
|
|
load table t2 from master;
|
|
|
|
load table t3 from master;
|
|
|
|
check table t1;
|
2001-01-18 10:43:09 -07:00
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 check status OK
|
2001-09-27 23:05:54 -06:00
|
|
|
select count(*) from t2;
|
2001-01-18 10:43:09 -07:00
|
|
|
count(*)
|
2003-02-17 02:14:37 +02:00
|
|
|
70
|
2001-09-27 23:05:54 -06:00
|
|
|
select count(*) from t3;
|
2001-01-18 10:43:09 -07:00
|
|
|
count(*)
|
|
|
|
0
|
2001-09-27 23:05:54 -06:00
|
|
|
set SQL_LOG_BIN=1;
|
|
|
|
drop table if exists t1,t2,t3;
|
|
|
|
create table t1(n int);
|
|
|
|
drop table t1;
|