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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_critical_errors.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:
53
53
connection slave;
54
54
 
55
55
# Here the slave will only stop if the query above actually started
56
 
# inserting some rows into t2. Otherwise, it will hang forever.
57
 
--source include/wait_for_slave_to_stop.inc
 
56
# inserting some rows into t2. Otherwise, it will hang forever.  ... and there
 
57
# the error code should be 1317 (ER_QUERY_INTERRUPTED)
 
58
--let $slave_sql_errno= 1317
 
59
--let $show_slave_sql_error= 1
 
60
--source include/wait_for_slave_sql_error.inc
58
61
 
59
62
# The following should be 0
60
63
SELECT COUNT(*) FROM t2;
61
64
 
62
 
# ... and there the error code should be 1317 (ER_QUERY_INTERRUPTED)
63
 
--replace_result $MASTER_MYPORT MASTER_PORT
64
 
--replace_column 1 # 7 # 8 # 9 # 20 # 22 # 23 # 33 #
65
 
query_vertical SHOW SLAVE STATUS;
66
 
 
67
65
enable_parsing;