Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_001.result

raw
1 include/master-slave.inc
2 [connection master]
3 CREATE TABLE t1 (n INT);
4 connection slave;
5 connection master;
6 RESET MASTER;
7 connection slave;
8 STOP SLAVE;
9 include/reset_slave.inc
10 connection master;
11 SELECT COUNT(*) FROM t1;
12 COUNT(*)
13 5000
14 connection slave;
15 LOCK TABLES t1 READ;
16 START SLAVE;
17 UNLOCK TABLES;
18 SELECT COUNT(*) FROM t1;
19 COUNT(*)
20 5000
21 connection master;
22 DROP TABLE t1;
23 CREATE TABLE t1 (n INT);
24 INSERT INTO t1 VALUES(3456);
25 connection slave;
26 SELECT n FROM t1;
27 n
28 3456
29 connection master;
30 DROP TABLE t1;
31 connection slave;
32 include/rpl_end.inc