~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/bugs/t/rpl_bug31582.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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