~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
stop slave;
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
reset master;
4
reset slave;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
start slave;
7
**** On Master ****
8
CREATE TABLE t1 (a int);
9
CREATE TABLE t2 (a int);
10
CREATE TEMPORARY TABLE t2 (a int, b int);
11
SHOW TABLES;
12
Tables_in_test
13
t1
14
t2
15
**** On Slave ****
16
SHOW TABLES;
17
Tables_in_test
18
t1
19
t2
20
**** On Master ****
21
DROP TABLE t2;
22
SHOW TABLES;
23
Tables_in_test
24
t1
25
t2
26
**** On Slave ****
27
SHOW TABLES;
28
Tables_in_test
29
t1
30
t2
31
**** On Master ****
32
CREATE TEMPORARY TABLE t2 (a int, b int);
33
SHOW TABLES;
34
Tables_in_test
35
t1
36
t2
37
**** On Slave ****
38
SHOW TABLES;
39
Tables_in_test
40
t1
41
t2
42
**** On Master ****
43
DROP TABLE t1,t2;
44
SHOW BINLOG EVENTS;
45
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
46
master-bin.000001	4	Format_desc	1	107	Server ver: VERSION, Binlog ver: 4
47
master-bin.000001	107	Query	1	193	use `test`; CREATE TABLE t1 (a int)
48
master-bin.000001	193	Query	1	279	use `test`; CREATE TABLE t2 (a int)
49
master-bin.000001	279	Query	1	383	use `test`; DROP TABLE `t1` /* generated by server */
50
SHOW TABLES;
51
Tables_in_test
52
t2
53
**** On Slave ****
54
SHOW TABLES;
55
Tables_in_test
56
t2