~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_basic.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:
191
191
source include/wait_for_slave_sql_to_stop.inc;
192
192
 
193
193
# 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;
 
194
# verify with show slave status 
 
195
# 1205 = ER_LOCK_WAIT_TIMEOUT 
 
196
--let $slave_sql_errno= 1205 
 
197
--let $show_slave_sql_error= 1 
 
198
--source include/wait_for_slave_sql_error.inc
198
199
 
199
200
# now set max retries high enough to succeed, and start slave again
200
201
set GLOBAL slave_transaction_retries=10;