~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
# Wait for deadlock to be detected.
189
189
# When detected, the slave will stop, so we just wait for it to stop.
190
190
connection slave;
191
 
source include/wait_for_slave_sql_to_stop.inc;
192
191
 
193
192
# Replication should have stopped, since max retries were not enough.
194
 
# verify with show slave status
195
 
--replace_result $MASTER_MYPORT MASTER_PORT
196
 
--replace_column 1 <Slave_IO_State> 7 <Read_Master_Log_Pos> 8 <Relay_Log_File> 9 <Relay_Log_Pos> 16 <Replicate_Ignore_Table> 19 <Last_Errno> 20 <Last_Error> 22 <Exec_Master_Log_Pos> 23 <Relay_Log_Space> 33 <Seconds_Behind_Master> 35 <Last_IO_Errno> 36 <Last_IO_Error> 37 <Last_SQL_Errno> 38 <Last_SQL_Error>
197
 
--query_vertical SHOW SLAVE STATUS;
 
193
# verify with show slave status 
 
194
# 1205 = ER_LOCK_WAIT_TIMEOUT 
 
195
--let $slave_sql_errno= 1205 
 
196
--let $show_slave_sql_error= 1 
 
197
--source include/wait_for_slave_sql_error.inc
198
198
 
199
199
# now set max retries high enough to succeed, and start slave again
200
200
set GLOBAL slave_transaction_retries=10;
258
258
# cleanup
259
259
--connection master
260
260
DROP TABLE t1;
 
261
--source include/rpl_end.inc