summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_row_drop.result
blob: 89654ebf16549d1aa14d8992fe5424c009fa14bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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 BINLOG EVENTS;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
master-bin.000001	4	Format_desc	1	106	Server ver: VERSION, Binlog ver: 4
master-bin.000001	106	Query	1	192	use `test`; CREATE TABLE t1 (a int)
master-bin.000001	192	Query	1	278	use `test`; CREATE TABLE t2 (a int)
master-bin.000001	278	Query	1	382	use `test`; DROP TABLE `t1` /* generated by server */
SHOW TABLES;
Tables_in_test
t2
**** On Slave ****
SHOW TABLES;
Tables_in_test
t2