2002-11-21 14:56:48 +01:00
|
|
|
stop slave;
|
2002-11-16 19:19:10 +01:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2002-11-21 14:56:48 +01:00
|
|
|
start slave;
|
2002-11-16 19:19:10 +01:00
|
|
|
drop table if exists t11;
|
|
|
|
drop table if exists t11;
|
|
|
|
create table t2 (n int);
|
|
|
|
insert into t2 values(4);
|
|
|
|
create table t2 (s char(20));
|
|
|
|
load data infile '../../std_data/words.dat' into table t2;
|
|
|
|
insert into t2 values('five');
|
|
|
|
create table t1 (m int);
|
|
|
|
insert into t1 values(15),(16),(17);
|
|
|
|
update t1 set m=20 where m=16;
|
|
|
|
delete from t1 where m=17;
|
|
|
|
create table t11 select * from t1;
|
|
|
|
select * from t1;
|
|
|
|
m
|
|
|
|
15
|
|
|
|
20
|
|
|
|
select * from t2;
|
|
|
|
n
|
|
|
|
4
|
|
|
|
select * from t11;
|
2003-06-04 17:28:51 +02:00
|
|
|
ERROR 42S02: Table 'test.t11' doesn't exist
|
2003-01-06 00:48:59 +01:00
|
|
|
drop table if exists t1,t2,t11;
|