From: Jon Olav Hauglid Date: October 27 2012 10:43am Subject: bzr push into mysql-trunk branch (jon.hauglid:4829 to 4830) List-Archive: http://lists.mysql.com/commits/145123 Message-Id: <20121027104339.19144.8945.4830@atum08.no.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4830 Jon Olav Hauglid 2012-10-27 Fix test failures in rpl.rpl_loaddata rpl.rpl_stm_loaddata_concurrent due to error message renumbering modified: mysql-test/extra/rpl_tests/rpl_loaddata.test mysql-test/suite/rpl/r/rpl_loaddata.result mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result 4829 Saikumar V 2012-10-27 [merge] Bug#14785826: Fixing depricated server variable use in inc file. Disabling two failing rpl tests(RPL_SWITCH_STM_ROW_MIXED AND RPL_INSERT_ID) due to this. removed: mysql-test/r/not_ndb_default.require modified: mysql-test/include/not_ndb_default.inc mysql-test/suite/rpl/t/disabled.def === modified file 'mysql-test/extra/rpl_tests/rpl_loaddata.test' --- a/mysql-test/extra/rpl_tests/rpl_loaddata.test 2012-08-02 21:42:11 +0000 +++ b/mysql-test/extra/rpl_tests/rpl_loaddata.test 2012-10-27 10:43:09 +0000 @@ -70,7 +70,7 @@ save_master_pos; connection slave; # 1062 = ER_DUP_ENTRY call mtr.add_suppression("Slave SQL.*Error .Duplicate entry .10. for key .b.. on query.* Error_code: 1062"); -call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1837"); +call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1838"); call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state"); --let $slave_sql_errno= 1062 --source include/wait_for_slave_sql_error_and_skip.inc @@ -161,10 +161,10 @@ if (`SELECT @@global.binlog_format != 'R # Query causes error on master but not on slave. This causes the slave to # stop with error code 0 (which is wrong: see BUG#57287) # A new error code ER_INCONSISTENT_ERROR has been introduced instead of 0. - # The error code is 1837 + # The error code is 1838 # ER_MTS_INCONSISTENT_DATA - # 1837 = ER_INCONSISTENT_ERROR - --let $slave_sql_errno= 1837,1756 + # 1838 = ER_INCONSISTENT_ERROR + --let $slave_sql_errno= 1838,1756 --source include/wait_for_slave_sql_error.inc drop table t1, t2; } === modified file 'mysql-test/suite/rpl/r/rpl_loaddata.result' --- a/mysql-test/suite/rpl/r/rpl_loaddata.result 2012-08-02 21:42:11 +0000 +++ b/mysql-test/suite/rpl/r/rpl_loaddata.result 2012-10-27 10:43:09 +0000 @@ -31,7 +31,7 @@ create table t1(a int, b int, unique(b)) insert into t1 values(1,10); load data infile '../../std_data/rpl_loaddata.dat' into table t1; call mtr.add_suppression("Slave SQL.*Error .Duplicate entry .10. for key .b.. on query.* Error_code: 1062"); -call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1837"); +call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1838"); call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state"); include/wait_for_slave_sql_error_and_skip.inc [errno=1062] include/check_slave_no_error.inc @@ -82,7 +82,7 @@ load data infile '../../std_data/rpl_loa terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' starting by '>' ignore 1 lines; ERROR 23000: Duplicate entry '2003-03-22' for key 'day' -include/wait_for_slave_sql_error.inc [errno=1837,1756] +include/wait_for_slave_sql_error.inc [errno=1838,1756] drop table t1, t2; drop table t1, t2; CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB; === modified file 'mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result' --- a/mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result 2012-08-02 21:42:11 +0000 +++ b/mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result 2012-10-27 10:43:09 +0000 @@ -47,7 +47,7 @@ create table t1(a int, b int, unique(b)) insert into t1 values(1,10); load data CONCURRENT infile '../../std_data/rpl_loaddata.dat' into table t1; call mtr.add_suppression("Slave SQL.*Error .Duplicate entry .10. for key .b.. on query.* Error_code: 1062"); -call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1837"); +call mtr.add_suppression("Slave SQL.*Query caused different errors on master and slave.*Error on master:.*error code=1062.*Error on slave:.*Error_code: 1838"); call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state"); include/wait_for_slave_sql_error_and_skip.inc [errno=1062] include/check_slave_no_error.inc @@ -98,7 +98,7 @@ load data CONCURRENT infile '../../std_d terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' starting by '>' ignore 1 lines; ERROR 23000: Duplicate entry '2003-03-22' for key 'day' -include/wait_for_slave_sql_error.inc [errno=1837,1756] +include/wait_for_slave_sql_error.inc [errno=1838,1756] drop table t1, t2; drop table t1, t2; CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB; No bundle (reason: useless for push emails).