~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/bugs/t/rpl_bug31583.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#31583: 5.1-telco-6.1 -> 5.1.22. Slave returns Error in unknown event
 
3
 
 
4
# This is a problem for any update statement replicating from an old
 
5
# server to a new server. The bug consisted of a new slave trying to
 
6
# read two column bitmaps, but there is only one available in the old
 
7
# format.
 
8
 
 
9
# This test case should be executed replicating from an old server to
 
10
# a new server, so make sure you have one handy.
 
11
 
 
12
source include/master-slave.inc;
 
13
 
 
14
CREATE TABLE t1 ( a INT, b INT DEFAULT -3 );
 
15
 
 
16
INSERT INTO t1 VALUES (1, DEFAULT);
 
17
UPDATE t1 SET a = 3;
 
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