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

« back to all changes in this revision

Viewing changes to mysql-test/include/start_slave.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
# Issues START SLAVE on the current connection. Then waits until both
 
4
# the IO and SQL threads have started, or until a timeout is reached.
 
5
#
 
6
# Please use this instead of 'START SLAVE', to reduce the risk of test
 
7
# case bugs.
 
8
#
 
9
# ==== Usage ====
 
10
#
 
11
# source include/wait_for_slave_to_start.inc;
 
12
#
 
13
# Parameters to this macro are $slave_timeout and
 
14
# $master_connection. See wait_for_slave_param.inc for
 
15
# descriptions.
 
16
 
 
17
--disable_query_log
 
18
START SLAVE;
 
19
--enable_query_log
 
20
--echo include/start_slave.inc
 
21
source include/wait_for_slave_to_start.inc;