1
--source include/have_binlog_format_row.inc
2
--source include/have_innodb.inc
3
--source include/master-slave.inc
6
# BUG#49618: Field length stored incorrectly in binary log for InnoDB
9
source include/reset_master_and_slave.inc;
12
CREATE TABLE t1(b1 BIT(1), b2 BIT(2), b3 BIT(3)) ENGINE=InnoDB;
13
INSERT INTO t1 VALUES (b'0', b'01', b'101');
14
sync_slave_with_master;
16
let $diff_table_1=master:test.t1;
17
let $diff_table_2=slave:test.t1;
18
source include/diff_tables.inc;
22
sync_slave_with_master;