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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# ignored, which has caught our customers), unless
5
5
# --replicate-same-server-id.
6
6
 
7
 
source include/master-slave.inc;
8
 
connection slave;
9
 
reset master;
10
 
 
11
 
# replicate ourselves
12
 
source include/stop_slave.inc;
13
 
--replace_result $SLAVE_MYPORT SLAVE_PORT
14
 
eval change master to master_port=$SLAVE_MYPORT;
15
 
start slave;
16
 
 
17
 
let $slave_param= Last_IO_Errno;                                          
18
 
let $slave_param_value= 1593;
19
 
source include/wait_for_slave_param.inc; 
20
 
--echo *** must be having the replicate-same-server-id IO thread error ***
21
 
let $last_io_errno= query_get_value("show slave status", Last_IO_Errno, 1);
22
 
let $last_io_error= query_get_value("show slave status", Last_IO_Error, 1);
23
 
echo Slave_IO_Errno= $last_io_errno;
24
 
echo Slave_IO_Error= $last_io_error;
 
7
--let $rpl_topology= 2->2
 
8
--let $rpl_skip_start_slave= 1
 
9
--source include/rpl_init.inc
 
10
 
 
11
--connection server_2
 
12
START SLAVE;
 
13
# 1593 = ER_SLAVE_FATAL_ERROR
 
14
--let $slave_io_errno= 1593
 
15
--let $show_slave_io_error= 1
 
16
--source include/wait_for_slave_io_error.inc
 
17
 
 
18
--source include/stop_slave_sql.inc
 
19
RESET SLAVE;
 
20
 
 
21
--let $rpl_only_running_threads= 1
 
22
--source include/rpl_end.inc