2
# BUG#31583: 5.1-telco-6.1 -> 5.1.22. Slave returns Error in unknown event
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
9
# This test case should be executed replicating from an old server to
10
# a new server, so make sure you have one handy.
12
source include/master-slave.inc;
14
CREATE TABLE t1 ( a INT, b INT DEFAULT -3 );
16
INSERT INTO t1 VALUES (1, DEFAULT);
18
SELECT * FROM t1 ORDER BY a;
19
sync_slave_with_master;
20
SELECT * FROM t1 ORDER BY a;
24
sync_slave_with_master;