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

« back to all changes in this revision

Viewing changes to mysql-test/include/wait_for_slave_io_to_start.inc

  • 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:
4
4
# connected to the master (i.e., until SHOW SLAVE STATUS returns Yes
5
5
# in the Slave_IO_Running field), or until a timeout is reached.
6
6
#
 
7
#
7
8
# ==== Usage ====
8
9
#
9
 
# source include/wait_for_slave_io_to_start.inc;
10
 
#
11
 
# Parameters to this macro are $slave_timeout and
12
 
# $master_connection. See wait_for_slave_param.inc for
13
 
# descriptions.
 
10
# [--let $slave_timeout= NUMBER]
 
11
# [--let $rpl_debug= 1]
 
12
# --source include/wait_for_slave_io_to_start.inc
 
13
#
 
14
# Parameters:
 
15
#   $slave_timeout
 
16
#     See include/wait_for_slave_param.inc
 
17
#
 
18
#   $rpl_debug
 
19
#     See include/rpl_init.inc
 
20
 
 
21
 
 
22
--let $include_filename= wait_for_slave_io_to_start.inc
 
23
--source include/begin_include_file.inc
 
24
 
14
25
 
15
26
let $slave_param= Slave_IO_Running;
16
27
let $slave_param_value= Yes;
17
 
let $slave_error_message= Failed while waiting for slave IO thread to start;
 
28
--let $slave_error_param= Last_IO_Errno
18
29
source include/wait_for_slave_param.inc;
19
 
let $slave_error_message= ;
 
30
--let $slave_error_param=
 
31
 
 
32
 
 
33
--let $include_filename= wait_for_slave_io_to_start.inc
 
34
--source include/end_include_file.inc