~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_simplex.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
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;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
CREATE TABLE t1 (a int key, b int) ENGINE=NDB;
8
4
SHOW TABLES;
9
5
Tables_in_test
12
8
INSERT INTO t1 VALUES (1,2);
13
9
INSERT INTO t1 VALUES (2,3);
14
10
STOP SLAVE;
15
 
CHANGE MASTER TO MASTER_HOST="127.0.0.1",MASTER_PORT=SLAVE_PORT,MASTER_USER="root";
 
11
include/rpl_change_topology.inc [new topology=1->2->1]
16
12
START SLAVE;
17
 
Checking that both slave threads are running.
 
13
include/check_slave_is_running.inc
18
14
SELECT * FROM t1 ORDER BY a;
19
15
a       b
20
16
1       2
25
21
a       b
26
22
1       2
27
23
2       3
28
 
Checking that both slave threads are running.
 
24
include/check_slave_is_running.inc
29
25
DROP TABLE t1;
 
26
include/rpl_end.inc