~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/t/rpl_ndb_circular.test

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
--connection slave
17
17
CREATE TABLE t1 (a int key, b int) ENGINE=ndb;
18
18
#CREATE TABLE t2 (a int key, b int) ENGINE=ndb;
19
 
--save_master_pos
20
 
--connection master
21
 
--sync_with_master
 
19
sync_slave_with_master master;
22
20
# now we should have a table on the master as well
23
21
SHOW TABLES;
24
22
 
30
28
 
31
29
# ensure data has propagated both ways
32
30
--connection slave
33
 
--save_master_pos
34
 
--connection master
35
 
--sync_with_master
 
31
sync_slave_with_master master;
36
32
--sync_slave_with_master
37
33
 
38
34
# connect to slave and ensure data it there.
39
35
--connection slave
40
36
SELECT * FROM t1 ORDER BY a;
41
37
#SELECT * FROM t2 ORDER BY a;
42
 
# BUG#34654 Last_IO_Errno is not reset - Mask columns 35 and 36
43
 
--replace_column 1 # 4 # 7 # 8 # 9 # 22 # 23 # 33 # 35 # 36 #
44
 
--query_vertical show slave status;
 
38
source include/check_slave_is_running.inc;
45
39
# connect to master and ensure data it there.
46
40
--connection master
47
41
SELECT * FROM t1 ORDER BY a;
48
42
#SELECT * FROM t2 ORDER BY a;
49
 
# BUG#34654 Last_IO_Errno is not reset - Mask columns 35 and 36
50
 
--replace_column 1 # 4 # 7 # 8 # 9 # 22 # 23 # 33 # 35 # 36 #
51
 
--query_vertical show slave status;
 
43
source include/check_slave_is_running.inc;
52
44
 
53
45
# stop replication on "master" as not to replicate
54
46
# shutdown circularly, eg drop table