rpl_chain_temp_table.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
Visual C++
- slave stop;
- 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;
- slave start;
- reset master;
- change master to master_host='127.0.0.1',master_port=9307, master_user='root';
- start slave;
- create temporary table t1 (a int);
- create temporary table t1 (a int);
- show status like 'slave_open_temp_tables';
- Variable_name Value
- Slave_open_temp_tables 2
- create temporary table t1 (a int);
- create temporary table t1 (a int);
- show status like 'slave_open_temp_tables';
- Variable_name Value
- Slave_open_temp_tables 4
- stop slave;
- insert into t1 values(1);
- create table t2 as select * from t1;
- start slave;
- show status like 'slave_open_temp_tables';
- Variable_name Value
- Slave_open_temp_tables 4
- select * from t2;
- a
- 1
- drop table t2;