mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
51 lines
739 B
Text
51 lines
739 B
Text
|
stop slave;
|
||
|
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;
|
||
|
start slave;
|
||
|
**** On Master ****
|
||
|
CREATE TABLE t1 (a int);
|
||
|
CREATE TABLE t2 (a int);
|
||
|
CREATE TEMPORARY TABLE t2 (a int, b int);
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Slave ****
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Master ****
|
||
|
DROP TABLE t2;
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Slave ****
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Master ****
|
||
|
CREATE TEMPORARY TABLE t2 (a int, b int);
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Slave ****
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t1
|
||
|
t2
|
||
|
**** On Master ****
|
||
|
DROP TABLE t1,t2;
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t2
|
||
|
**** On Slave ****
|
||
|
SHOW TABLES;
|
||
|
Tables_in_test
|
||
|
t2
|