mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / rpl_ndb / r / rpl_ndb_circular_simplex.result
blobf3a4c132ee39c1cdddff50dc129c6d7368ba9ee7
1 include/master-slave.inc
2 [connection master]
3 CREATE TABLE t1 (a int key, b int) ENGINE=NDB;
4 SHOW TABLES;
5 Tables_in_test
6 t1
7 RESET MASTER;
8 INSERT INTO t1 VALUES (1,2);
9 INSERT INTO t1 VALUES (2,3);
10 STOP SLAVE;
11 include/rpl_change_topology.inc [new topology=1->2->1]
12 START SLAVE;
13 include/check_slave_is_running.inc
14 SELECT * FROM t1 ORDER BY a;
15 a       b
16 1       2
17 2       3
18 STOP SLAVE;
19 START SLAVE;
20 SELECT * FROM t1 ORDER BY a;
21 a       b
22 1       2
23 2       3
24 include/check_slave_is_running.inc
25 DROP TABLE t1;
26 include/rpl_end.inc