Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_rec_comp_innodb.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 ## case #1 - last_null_bit_pos==0 in record_compare without X bit
7 include/rpl_reset.inc
8 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=InnoDB DEFAULT CHARSET=latin1;
9 Warnings:
10 Warning 1681 Integer display width is deprecated and will be removed in a future release.
11 Warning 1681 Integer display width is deprecated and will be removed in a future release.
12 Warning 1681 Integer display width is deprecated and will be removed in a future release.
13 Warning 1681 Integer display width is deprecated and will be removed in a future release.
14 Warning 1681 Integer display width is deprecated and will be removed in a future release.
15 Warning 1681 Integer display width is deprecated and will be removed in a future release.
16 Warning 1681 Integer display width is deprecated and will be removed in a future release.
17 INSERT INTO t1 ( c5, c6 ) VALUES ( 1 , 35 );
18 INSERT INTO t1 ( c5, c6 ) VALUES ( NULL, 35 );
19 UPDATE IGNORE t1 SET c5 = 'a';
20 include/sync_slave_sql_with_master.inc
21 include/diff_tables.inc [master:t1, slave:t1]
22 DROP TABLE t1;
23 include/sync_slave_sql_with_master.inc
24 ## case #1.1 - last_null_bit_pos==0 in record_compare with X bit
25 ## (1 column less and no varchar)
26 include/rpl_reset.inc
27 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=InnoDB DEFAULT CHARSET=latin1;
28 Warnings:
29 Warning 1681 Integer display width is deprecated and will be removed in a future release.
30 Warning 1681 Integer display width is deprecated and will be removed in a future release.
31 Warning 1681 Integer display width is deprecated and will be removed in a future release.
32 Warning 1681 Integer display width is deprecated and will be removed in a future release.
33 Warning 1681 Integer display width is deprecated and will be removed in a future release.
34 Warning 1681 Integer display width is deprecated and will be removed in a future release.
35 Warning 1681 Integer display width is deprecated and will be removed in a future release.
36 INSERT INTO t1 ( c5, c6 ) VALUES ( 1 , 35 );
37 INSERT INTO t1 ( c5, c6 ) VALUES ( NULL, 35 );
38 UPDATE IGNORE t1 SET c5 = 'a';
39 include/sync_slave_sql_with_master.inc
40 include/diff_tables.inc [master:t1, slave:t1]
41 DROP TABLE t1;
42 include/sync_slave_sql_with_master.inc
43 ## case #2 - X bit is wrongly set.
44 include/rpl_reset.inc
45 CREATE TABLE t1 (c1 int, c2 varchar(1) default '') ENGINE=InnoDB DEFAULT CHARSET= latin1;
46 INSERT INTO t1(c1) VALUES (10);
47 INSERT INTO t1(c1) VALUES (NULL);
48 UPDATE t1 SET c1= 0;
49 include/sync_slave_sql_with_master.inc
50 include/diff_tables.inc [master:t1, slave:t1]
51 DROP TABLE t1;
52 include/sync_slave_sql_with_master.inc
53 include/rpl_end.inc