2002-10-25 01:46:14 +02:00
|
|
|
stop slave;
|
2002-08-08 02:12:02 +02:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2001-09-28 07:05:54 +02:00
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2002-10-25 01:46:14 +02:00
|
|
|
start slave;
|
2001-09-28 07:05:54 +02: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 18:43:09 +01:00
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 check status OK
|
2001-09-28 07:05:54 +02:00
|
|
|
select count(*) from t2;
|
2001-01-18 18:43:09 +01:00
|
|
|
count(*)
|
2003-02-17 01:14:37 +01:00
|
|
|
70
|
2001-09-28 07:05:54 +02:00
|
|
|
select count(*) from t3;
|
2001-01-18 18:43:09 +01:00
|
|
|
count(*)
|
|
|
|
0
|
2001-09-28 07:05:54 +02:00
|
|
|
set SQL_LOG_BIN=1;
|
|
|
|
drop table if exists t1,t2,t3;
|
|
|
|
create table t1(n int);
|
|
|
|
drop table t1;
|