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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ==== Purpose ====
 
2
#
 
3
# Waits until both the IO and SQL threads of the current connection
 
4
# have started, or until a timeout is reached.
 
5
#
 
6
# ==== Usage ====
 
7
#
 
8
# source include/wait_for_slave_to_start.inc;
 
9
#
 
10
# Parameters to this macro are $slave_timeout and
 
11
# $master_connection. See wait_for_slave_param.inc for
 
12
# descriptions.
 
13
 
 
14
let $slave_error_message= Failed while waiting for slave to start;
 
15
 
 
16
let $slave_param= Slave_IO_Running;
 
17
let $slave_param_value= Yes;
 
18
source include/wait_for_slave_param.inc;
 
19
 
 
20
let $slave_param= Slave_SQL_Running;
 
21
let $slave_param_value= Yes;
 
22
source include/wait_for_slave_param.inc;
 
23
 
 
24
let $slave_error_message= ;