Skip to content

Commit 2116649

Browse files
committed
after-merge fix replication tests
* mostly update result files * also updating test/include files to match 5.6
1 parent 7a21364 commit 2116649

File tree

47 files changed

+958
-552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+958
-552
lines changed

mysql-test/extra/rpl_tests/rpl_record_compare.test

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,3 @@ UPDATE t1 SET c1= 0;
6262
DROP TABLE t1;
6363
-- sync_slave_with_master
6464

65-
#
66-
# BUG#11766865: 60091: RBR + NO PK + UPDATE NULL VALUE --> SLAVE BREAK WITH ERROR HA_ERR_END_OF_
67-
#
68-
69-
--connection master
70-
--source include/rpl_reset.inc
71-
--connection master
72-
73-
--eval CREATE TABLE t1 (c1 int(11) NOT NULL, c2 int(11) NOT NULL, c3 int(11) DEFAULT '-1') ENGINE=$engine DEFAULT CHARSET=latin1
74-
75-
INSERT INTO t1 VALUES (1,2,NULL);
76-
UPDATE t1 SET c1=1, c2=2, c3=-1 WHERE c1=1 AND c2=2 AND ISNULL(c3);
77-
78-
--sync_slave_with_master
79-
80-
--let $diff_tables=master:test.t1, slave:test.t1
81-
--source include/diff_tables.inc
82-
83-
--connection master
84-
DROP TABLE t1;
85-
--sync_slave_with_master

mysql-test/extra/rpl_tests/rpl_row_basic.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ INSERT INTO t5 VALUES (2, repeat(_utf8'a', 255), 2);
440440

441441
connection slave;
442442
# 1677 = ER_SLAVE_CONVERSION_FAILED
443-
--let $slave_sql_errno= 1677
443+
--let $slave_sql_errno= 1677
444444
--let $show_slave_sql_error= 1
445445
--source include/wait_for_slave_sql_error.inc
446446

@@ -453,7 +453,7 @@ INSERT INTO t6 VALUES (2, repeat(_utf8'a', 255), 2);
453453

454454
connection slave;
455455
# 1677 = ER_SLAVE_CONVERSION_FAILED
456-
--let $slave_sql_errno= 1677
456+
--let $slave_sql_errno= 1677
457457
--let $show_slave_sql_error= 1
458458
--source include/wait_for_slave_sql_error.inc
459459

mysql-test/extra/rpl_tests/rpl_sv_relay_space.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ eval CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=$engine_type;
1515
INSERT INTO t1 SET name='Andy', age=31;
1616
INSERT INTO t1 SET name='Jacob', age=2;
1717
INSERT INTO t1 SET name='Caleb', age=1;
18-
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
18+
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY,
19+
ALGORITHM=COPY;
1920
SELECT * FROM t1 ORDER BY id;
2021
sync_slave_with_master;
2122
SELECT * FROM t1 ORDER BY id;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=InnoDB;
77
INSERT INTO t1 SET name='Andy', age=31;
88
INSERT INTO t1 SET name='Jacob', age=2;
99
INSERT INTO t1 SET name='Caleb', age=1;
10-
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
10+
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY,
11+
ALGORITHM=COPY;
1112
SELECT * FROM t1 ORDER BY id;
1213
name age id
1314
Andy 31 00000001

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=MyISAM;
77
INSERT INTO t1 SET name='Andy', age=31;
88
INSERT INTO t1 SET name='Jacob', age=2;
99
INSERT INTO t1 SET name='Caleb', age=1;
10-
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
10+
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY,
11+
ALGORITHM=COPY;
1112
SELECT * FROM t1 ORDER BY id;
1213
name age id
1314
Andy 31 00000001

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,13 +493,13 @@ include/diff_tables.inc [master:t4, slave:t4]
493493
[expecting slave to stop]
494494
INSERT INTO t5 VALUES (1, "", 1);
495495
INSERT INTO t5 VALUES (2, repeat(_utf8'a', 255), 2);
496-
include/wait_for_slave_sql_error.inc [errno=1677 ]
496+
include/wait_for_slave_sql_error.inc [errno=1677]
497497
Last_SQL_Error = 'Column 1 of table 'test.t5' cannot be converted from type 'char(255)' to type 'char(16)''
498498
include/rpl_reset.inc
499499
[expecting slave to stop]
500500
INSERT INTO t6 VALUES (1, "", 1);
501501
INSERT INTO t6 VALUES (2, repeat(_utf8'a', 255), 2);
502-
include/wait_for_slave_sql_error.inc [errno=1677 ]
502+
include/wait_for_slave_sql_error.inc [errno=1677]
503503
Last_SQL_Error = 'Column 1 of table 'test.t6' cannot be converted from type 'char(255)' to type 'char(128)''
504504
include/rpl_reset.inc
505505
[expecting slave to replicate correctly]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,13 @@ include/diff_tables.inc [master:t4, slave:t4]
496496
[expecting slave to stop]
497497
INSERT INTO t5 VALUES (1, "", 1);
498498
INSERT INTO t5 VALUES (2, repeat(_utf8'a', 255), 2);
499-
include/wait_for_slave_sql_error.inc [errno=1677 ]
499+
include/wait_for_slave_sql_error.inc [errno=1677]
500500
Last_SQL_Error = 'Column 1 of table 'test.t5' cannot be converted from type 'char(255)' to type 'char(16)''
501501
include/rpl_reset.inc
502502
[expecting slave to stop]
503503
INSERT INTO t6 VALUES (1, "", 1);
504504
INSERT INTO t6 VALUES (2, repeat(_utf8'a', 255), 2);
505-
include/wait_for_slave_sql_error.inc [errno=1677 ]
505+
include/wait_for_slave_sql_error.inc [errno=1677]
506506
Last_SQL_Error = 'Column 1 of table 'test.t6' cannot be converted from type 'char(255)' to type 'char(128)''
507507
include/rpl_reset.inc
508508
[expecting slave to replicate correctly]

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,4 @@ INSERT INTO t1(c1) VALUES (NULL);
2525
UPDATE t1 SET c1= 0;
2626
include/diff_tables.inc [master:t1, slave:t1]
2727
DROP TABLE t1;
28-
include/rpl_reset.inc
29-
CREATE TABLE t1 (c1 int(11) NOT NULL, c2 int(11) NOT NULL, c3 int(11) DEFAULT '-1') ENGINE=InnoDB DEFAULT CHARSET=latin1;
30-
INSERT INTO t1 VALUES (1,2,NULL);
31-
UPDATE t1 SET c1=1, c2=2, c3=-1 WHERE c1=1 AND c2=2 AND ISNULL(c3);
32-
include/diff_tables.inc [master:test.t1, slave:test.t1]
33-
DROP TABLE t1;
3428
include/rpl_end.inc

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,4 @@ INSERT INTO t1(c1) VALUES (NULL);
3434
UPDATE t1 SET c1= 0;
3535
include/diff_tables.inc [master:t1, slave:t1]
3636
DROP TABLE t1;
37-
include/rpl_reset.inc
38-
CREATE TABLE t1 (c1 int(11) NOT NULL, c2 int(11) NOT NULL, c3 int(11) DEFAULT '-1') ENGINE=MyISAM DEFAULT CHARSET=latin1;
39-
INSERT INTO t1 VALUES (1,2,NULL);
40-
UPDATE t1 SET c1=1, c2=2, c3=-1 WHERE c1=1 AND c2=2 AND ISNULL(c3);
41-
include/diff_tables.inc [master:test.t1, slave:test.t1]
42-
DROP TABLE t1;
4337
include/rpl_end.inc

0 commit comments

Comments
 (0)