~vadim-tk/percona-server/percona-galera-5.1.57

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_row_rec_comp_myisam.test

  • Committer: root
  • Date: 2011-07-10 16:09:24 UTC
  • Revision ID: root@r815.office.percona.com-20110710160924-fyffqsbaclgu6vui
Initial port

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
## Added here because AFAIK it's only MyISAM and NDB that use Field_bits
 
13
 
 
14
--source include/rpl_reset.inc
 
15
-- connection master
 
16
 
 
17
-- eval CREATE TABLE t1 (c1 bigint(20) DEFAULT 0, c2 bit(5)) ENGINE=$engine DEFAULT CHARSET=latin1
 
18
 
 
19
INSERT INTO t1(c1,c2) VALUES (10, b'1');
 
20
INSERT INTO t1(c1,c2) VALUES (NULL, b'1');
 
21
UPDATE t1 SET c1= 0;
 
22
-- sync_slave_with_master
 
23
 
 
24
-- let $diff_tables= master:t1, slave:t1
 
25
-- source include/diff_tables.inc
 
26
 
 
27
-- connection master
 
28
DROP TABLE t1; 
 
29
-- sync_slave_with_master
 
30
 
 
31
-- source extra/rpl_tests/rpl_record_compare.test
 
32
 
 
33
--source include/rpl_end.inc