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