Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_rec_comp_myisam.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 ## coverage purposes - Field_bits
7 ## 1 X bit + 2 Null bits + 5 bits => last_null_bit_pos==0
8 include/rpl_reset.inc
9 CREATE TABLE t1 (c1 bigint(20) DEFAULT 0, c2 bit(5)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
10 Warnings:
11 Warning 1681 Integer display width is deprecated and will be removed in a future release.
12 INSERT INTO t1(c1,c2) VALUES (10, b'1');
13 INSERT INTO t1(c1,c2) VALUES (NULL, b'1');
14 UPDATE t1 SET c1= 0;
15 include/sync_slave_sql_with_master.inc
16 include/diff_tables.inc [master:t1, slave:t1]
17 DROP TABLE t1;
18 include/sync_slave_sql_with_master.inc
19 ## case #1 - last_null_bit_pos==0 in record_compare without X bit
20 include/rpl_reset.inc
21 CREATE TABLE t1 (c1 bigint(20) DEFAULT 0, c2 bigint(20) DEFAULT 0, c3 bigint(20) DEFAULT 0, c4 varchar(1) DEFAULT '', c5 bigint(20) DEFAULT 0, c6 bigint(20) DEFAULT 0, c7 bigint(20) DEFAULT 0, c8 bigint(20) DEFAULT 0) ENGINE=MyISAM DEFAULT CHARSET=latin1;
22 Warnings:
23 Warning 1681 Integer display width is deprecated and will be removed in a future release.
24 Warning 1681 Integer display width is deprecated and will be removed in a future release.
25 Warning 1681 Integer display width is deprecated and will be removed in a future release.
26 Warning 1681 Integer display width is deprecated and will be removed in a future release.
27 Warning 1681 Integer display width is deprecated and will be removed in a future release.
28 Warning 1681 Integer display width is deprecated and will be removed in a future release.
29 Warning 1681 Integer display width is deprecated and will be removed in a future release.
30 INSERT INTO t1 ( c5, c6 ) VALUES ( 1 , 35 );
31 INSERT INTO t1 ( c5, c6 ) VALUES ( NULL, 35 );
32 UPDATE IGNORE t1 SET c5 = 'a';
33 include/sync_slave_sql_with_master.inc
34 include/diff_tables.inc [master:t1, slave:t1]
35 DROP TABLE t1;
36 include/sync_slave_sql_with_master.inc
37 ## case #1.1 - last_null_bit_pos==0 in record_compare with X bit
38 ## (1 column less and no varchar)
39 include/rpl_reset.inc
40 CREATE TABLE t1 (c1 bigint(20) DEFAULT 0, c2 bigint(20) DEFAULT 0, c3 bigint(20) DEFAULT 0, c4 bigint(20) DEFAULT 0, c5 bigint(20) DEFAULT 0, c6 bigint(20) DEFAULT 0, c7 bigint(20) DEFAULT 0) ENGINE=MyISAM DEFAULT CHARSET=latin1;
41 Warnings:
42 Warning 1681 Integer display width is deprecated and will be removed in a future release.
43 Warning 1681 Integer display width is deprecated and will be removed in a future release.
44 Warning 1681 Integer display width is deprecated and will be removed in a future release.
45 Warning 1681 Integer display width is deprecated and will be removed in a future release.
46 Warning 1681 Integer display width is deprecated and will be removed in a future release.
47 Warning 1681 Integer display width is deprecated and will be removed in a future release.
48 Warning 1681 Integer display width is deprecated and will be removed in a future release.
49 INSERT INTO t1 ( c5, c6 ) VALUES ( 1 , 35 );
50 INSERT INTO t1 ( c5, c6 ) VALUES ( NULL, 35 );
51 UPDATE IGNORE t1 SET c5 = 'a';
52 include/sync_slave_sql_with_master.inc
53 include/diff_tables.inc [master:t1, slave:t1]
54 DROP TABLE t1;
55 include/sync_slave_sql_with_master.inc
56 ## case #2 - X bit is wrongly set.
57 include/rpl_reset.inc
58 CREATE TABLE t1 (c1 int, c2 varchar(1) default '') ENGINE=MyISAM DEFAULT CHARSET= latin1;
59 INSERT INTO t1(c1) VALUES (10);
60 INSERT INTO t1(c1) VALUES (NULL);
61 UPDATE t1 SET c1= 0;
62 include/sync_slave_sql_with_master.inc
63 include/diff_tables.inc [master:t1, slave:t1]
64 DROP TABLE t1;
65 include/sync_slave_sql_with_master.inc
66 include/rpl_end.inc