~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_simplex.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:
38
38
START SLAVE;
39
39
 
40
40
connection slave;
41
 
save_master_pos;
42
 
connection master;
43
 
sync_with_master;
 
41
sync_slave_with_master master;
44
42
 
45
43
# The statement is disabled since it cannot reliably show the same
46
44
# info all the time.  Use it for debug purposes.
48
46
#SHOW BINLOG EVENTS;
49
47
 
50
48
# Check that there is no error in replication
51
 
--replace_result $SLAVE_MYPORT SLAVE_PORT
52
 
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 # 35 # 36 #
53
 
query_vertical SHOW SLAVE STATUS;
 
49
source include/check_slave_is_running.inc;
54
50
 
55
51
# Check that we have the data on the master
56
52
SELECT * FROM t1 ORDER BY a;
75
71
SELECT * FROM t1 ORDER BY a;
76
72
 
77
73
# Check that there is no error in replication
78
 
--replace_result $MASTER_MYPORT MASTER_PORT
79
 
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 # 35 # 36 #
80
 
query_vertical SHOW SLAVE STATUS;
 
74
source include/check_slave_is_running.inc;
81
75
 
82
76
-- connection master
83
77
DROP TABLE t1;