~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_slave_load_tmpdir_not_exist.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
--source include/have_log_bin.inc
6
6
--source include/not_embedded.inc
7
7
 
8
 
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
9
 
connect (master1,127.0.0.1,root,,test,$MASTER_MYPORT,);
10
 
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
11
 
connect (slave1,127.0.0.1,root,,test,$SLAVE_MYPORT,);
12
 
 
13
 
connection slave;
14
 
 
15
 
--replace_result $MASTER_MYPORT MASTER_MYPORT
16
 
eval CHANGE MASTER TO MASTER_USER='root',
17
 
                      MASTER_CONNECT_RETRY=1,
18
 
                      MASTER_HOST='127.0.0.1',
19
 
                      MASTER_PORT=$MASTER_MYPORT;
 
8
--let $rpl_skip_start_slave= 1
 
9
--source include/master-slave.inc
 
10
 
 
11
--connection slave
20
12
START SLAVE;
21
 
 
22
 
source include/wait_for_slave_sql_to_stop.inc;
23
 
let $errno=query_get_value("show slave status", Last_SQL_Errno, 1);
24
 
echo $errno;
 
13
# Why 12???
 
14
call mtr.add_suppression("Slave SQL.*Unable to use slave.s temporary directory.* Error_code: 12");
 
15
--let $slave_sql_errno= 12
 
16
source include/wait_for_slave_sql_error.inc;
 
17
 
 
18
--source include/stop_slave_io.inc
 
19
RESET SLAVE;
 
20
 
 
21
--let $rpl_only_running_threads= 1
 
22
--source include/rpl_end.inc