Debian Codegraph @

mysql-test/suite/rpl/t/rpl_row_rec_comp_myisam.test

raw
1 -- source include/have_binlog_format_row.inc
2 -- source include/master-slave.inc
3 -- let $engine= MyISAM
4
5 #
6 # BUG#52868 Wrong handling of NULL value during update, replication out of sync
7 #
8
9
10 -- echo ## coverage purposes - Field_bits
11 -- echo ## 1 X bit + 2 Null bits + 5 bits => last_null_bit_pos==0
12
13 --source include/rpl_reset.inc
14 -- connection master
15
16 -- eval CREATE TABLE t1 (c1 bigint(20) DEFAULT 0, c2 bit(5)) ENGINE=$engine DEFAULT CHARSET=latin1
17
18 INSERT INTO t1(c1,c2) VALUES (10, b'1');
19 INSERT INTO t1(c1,c2) VALUES (NULL, b'1');
20 UPDATE t1 SET c1= 0;
21 -- sync_slave_with_master
22
23 -- let $diff_tables= master:t1, slave:t1
24 -- source include/diff_tables.inc
25
26 -- connection master
27 DROP TABLE t1;
28 -- sync_slave_with_master
29
30 -- source include/rpl_record_compare.test
31
32 --source include/rpl_end.inc