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

« back to all changes in this revision

Viewing changes to mysql-test/suite/bugs/t/rpl_bug31582.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:
1
 
 
2
 
# BUG#31582: 5.1-telco-6.1 -> 5.1.22. Slave crashes when reading
3
 
#            UPDATE for VARCHAR
4
 
 
5
 
# This is a problem for any update statement replicating from an old
6
 
# server to a new server. The bug consisted of a new slave trying to
7
 
# read two column bitmaps, but there is only one available in the old
8
 
# format.
9
 
 
10
 
# This test case should be executed replicating from an old server to
11
 
# a new server, so make sure you have one handy.
12
 
 
13
 
source include/master-slave.inc;
14
 
 
15
 
CREATE TABLE t1 (a VARCHAR(10) PRIMARY KEY) ENGINE=MyISAM;
16
 
INSERT INTO t1 VALUES ('a');
17
 
UPDATE t1 SET a = 'MyISAM';
18
 
SELECT * FROM t1 ORDER BY a;
19
 
sync_slave_with_master;
20
 
SELECT * FROM t1 ORDER BY a;
21
 
 
22
 
connection master;
23
 
DROP TABLE t1;
24
 
sync_slave_with_master;
25