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
|
|
|
create table t2(n int);
|
|
|
|
create temporary table t1 (n int);
|
|
|
|
insert into t1 values(1),(2),(3);
|
|
|
|
insert into t2 select * from t1;
|
|
|
|
create temporary table t1 (n int);
|
|
|
|
insert into t1 values (4),(5);
|
2001-11-28 16:11:05 +02:00
|
|
|
insert into t2 select * from t1 as t10;
|
2001-09-27 23:05:54 -06:00
|
|
|
insert into t2 values(6);
|
|
|
|
select * from t2;
|
2000-12-27 03:31:06 +02:00
|
|
|
n
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
2001-09-27 23:05:54 -06:00
|
|
|
show status like 'Slave_open_temp_tables';
|
2001-03-25 01:02:26 +02:00
|
|
|
Variable_name Value
|
|
|
|
Slave_open_temp_tables 0
|
2001-09-27 23:05:54 -06:00
|
|
|
drop table if exists t1,t2;
|
2003-01-06 01:48:59 +02:00
|
|
|
Warnings:
|
|
|
|
Note 1051 Unknown table 't1'
|