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

« back to all changes in this revision

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

  • 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:
75
75
 
76
76
# Check data
77
77
--echo Check data on both clusters 
78
 
let $diff_table_1=master:test.t1;
79
 
let $diff_table_2=slave:test.t1;
80
 
 
 
78
let $diff_tables= master:t1, slave:t1;
81
79
source include/diff_tables.inc;
82
80
 
83
81
--echo *** Transaction testing ***
116
114
--source include/wait_condition.inc
117
115
 
118
116
--echo Check data on both clusters 
119
 
let $diff_table_1=master:test.t1;
120
 
let $diff_table_2=slave:test.t1;
121
 
 
 
117
let $diff_tables= master:t1, slave:t1;
122
118
source include/diff_tables.inc;
123
119
 
124
120
# Start transaction and then roll back
155
151
--source include/wait_condition.inc
156
152
 
157
153
--echo Check data on both clusters 
158
 
let $diff_table_1=master:test.t1;
159
 
let $diff_table_2=slave:test.t1;
160
 
 
 
154
let $diff_tables= master:t1, slave:t1;
161
155
source include/diff_tables.inc;
162
156
 
163
157
# Clean up
164
158
--connection master
165
 
DROP TABLE t1;
166
 
--connection slave
167
 
--disable_warnings
168
159
DROP TABLE IF EXISTS t1;
169
 
--enable_warnings
 
160
--connection slave
 
161
# Wait until table is dropped on slave.
 
162
--let $query= SELECT COUNT(*) FROM t1
 
163
--source include/wait_for_query_to_fail.inc
170
164
--echo
171
165
 
172
166
# End of test 5.1
 
167
--source include/rpl_end.inc