| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection master; |
| 4 |
CREATE TABLE t1 (a int); |
| 5 |
CREATE TABLE t2 (a int); |
| 6 |
CREATE TEMPORARY TABLE t2 (a int, b int); |
| 7 |
SHOW TABLES; |
| 8 |
Tables_in_test |
| 9 |
t2 |
| 10 |
t1 |
| 11 |
t2 |
| 12 |
connection slave; |
| 13 |
SHOW TABLES; |
| 14 |
Tables_in_test |
| 15 |
t1 |
| 16 |
t2 |
| 17 |
connection master; |
| 18 |
DROP TABLE t2; |
| 19 |
SHOW TABLES; |
| 20 |
Tables_in_test |
| 21 |
t1 |
| 22 |
t2 |
| 23 |
connection slave; |
| 24 |
SHOW TABLES; |
| 25 |
Tables_in_test |
| 26 |
t1 |
| 27 |
t2 |
| 28 |
connection master; |
| 29 |
CREATE TEMPORARY TABLE t2 (a int, b int); |
| 30 |
SHOW TABLES; |
| 31 |
Tables_in_test |
| 32 |
t2 |
| 33 |
t1 |
| 34 |
t2 |
| 35 |
connection slave; |
| 36 |
SHOW TABLES; |
| 37 |
Tables_in_test |
| 38 |
t1 |
| 39 |
t2 |
| 40 |
connection master; |
| 41 |
DROP TABLE t1,t2; |
| 42 |
include/show_binlog_events.inc |
| 43 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 44 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 45 |
master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int) |
| 46 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 47 |
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int) |
| 48 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 49 |
master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ |
| 50 |
SHOW TABLES; |
| 51 |
Tables_in_test |
| 52 |
t2 |
| 53 |
connection slave; |
| 54 |
SHOW TABLES; |
| 55 |
Tables_in_test |
| 56 |
t2 |
| 57 |
include/rpl_end.inc |