~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_known_bugs_detection.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:
25
25
INSERT INTO t1(b) VALUES(1),(1),(2) ON DUPLICATE KEY UPDATE t1.b=10;
26
26
SELECT * FROM t1;
27
27
connection slave;
28
 
--source include/wait_for_slave_sql_to_stop.inc
 
28
 
29
29
# show the error message 
30
30
#1105 = ER_UNKNOWN_ERROR
31
31
--let $slave_sql_errno= 1105
32
32
--let $show_slave_sql_error= 1
 
33
call mtr.add_suppression("Slave SQL.*suffer.*http:..bugs.mysql.com.bug.php.id=24432");
33
34
--source include/wait_for_slave_sql_error.inc
34
35
# show that it was not replicated
35
36
SELECT * FROM t1;
81
82
t1.field_3 = t2.field_c;
82
83
SELECT * FROM t1;
83
84
connection slave;
84
 
--source include/wait_for_slave_sql_to_stop.inc
 
85
 
85
86
# show the error message
86
87
#1105 = ER_UNKNOWN_ERROR
87
88
--let $slave_sql_errno= 1105
88
89
--let $show_slave_sql_error= 1
89
90
--source include/wait_for_slave_sql_error.inc
 
91
 
90
92
# show that it was not replicated
91
93
SELECT * FROM t1;
92
94
connection master;
 
95
 
 
96
# clean up
93
97
drop table t1, t2;
94
98
connection slave;
95
99
drop table t1, t2;
 
100
# clear error message in sql thread
 
101
--source include/stop_slave_io.inc
 
102
RESET SLAVE;
96
103
 
97
104
# End of 5.0 tests
 
105
--let $rpl_only_running_threads= 1
 
106
--source include/rpl_end.inc