diff options
Diffstat (limited to 'mysql-test/extra/rpl_tests')
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_auto_increment.test | 4 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_foreign_key.test | 4 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_insert_id.test | 2 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_insert_id_pk.test | 2 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_loaddata.test | 4 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_row_basic.test | 6 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test | 2 | ||||
-rw-r--r-- | mysql-test/extra/rpl_tests/rpl_trig004.test | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_auto_increment.test b/mysql-test/extra/rpl_tests/rpl_auto_increment.test index dbae317e8ab..410aeecb7ee 100644 --- a/mysql-test/extra/rpl_tests/rpl_auto_increment.test +++ b/mysql-test/extra/rpl_tests/rpl_auto_increment.test @@ -76,7 +76,7 @@ insert into t1 values (NULL),(5),(NULL),(NULL); insert into t1 values (500),(NULL),(502),(NULL),(NULL); select * from t1; set @@insert_id=600; ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME insert into t1 values(600),(NULL),(NULL); set @@insert_id=600; insert ignore into t1 values(600),(NULL),(NULL),(610),(NULL); @@ -119,7 +119,7 @@ set auto_increment_increment=11; set auto_increment_offset=4; insert into t1 values(null); insert into t1 values(null); ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME insert into t1 values(null); select a, mod(a-@@auto_increment_offset,@@auto_increment_increment) from t1 order by a; diff --git a/mysql-test/extra/rpl_tests/rpl_foreign_key.test b/mysql-test/extra/rpl_tests/rpl_foreign_key.test index 0f4cd856db6..8558650fd04 100644 --- a/mysql-test/extra/rpl_tests/rpl_foreign_key.test +++ b/mysql-test/extra/rpl_tests/rpl_foreign_key.test @@ -22,8 +22,8 @@ SET TIMESTAMP=1000000000; CREATE TABLE t3 ( a INT UNIQUE ); SET FOREIGN_KEY_CHECKS=0; # Had to add 1022 for run with ndb as ndb uses different -# error and error code for 1062. Bug 16677 ---error 1022, 1062 +# error and error code for error ER_DUP_ENTRY_WITH_KEY_NAME. Bug 16677 +--error 1022, ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t3 VALUES (1),(1); sync_slave_with_master; diff --git a/mysql-test/extra/rpl_tests/rpl_insert_id.test b/mysql-test/extra/rpl_tests/rpl_insert_id.test index 33194270d37..0b07216cf11 100644 --- a/mysql-test/extra/rpl_tests/rpl_insert_id.test +++ b/mysql-test/extra/rpl_tests/rpl_insert_id.test @@ -97,7 +97,7 @@ SET TIMESTAMP=1000000000; CREATE TABLE t1 ( a INT UNIQUE ); SET FOREIGN_KEY_CHECKS=0; # Duplicate Key Errors ---error 1022, 1062 +--error 1022, ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t1 VALUES (1),(1); sync_slave_with_master; connection master; diff --git a/mysql-test/extra/rpl_tests/rpl_insert_id_pk.test b/mysql-test/extra/rpl_tests/rpl_insert_id_pk.test index 6feafc5a9a7..5a646bd49e3 100644 --- a/mysql-test/extra/rpl_tests/rpl_insert_id_pk.test +++ b/mysql-test/extra/rpl_tests/rpl_insert_id_pk.test @@ -80,7 +80,7 @@ SET TIMESTAMP=1000000000; CREATE TABLE t1 ( a INT UNIQUE ); SET FOREIGN_KEY_CHECKS=0; # Duplicate Key Errors codes ---error 1022, 1062 +--error 1022, ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t1 VALUES (1),(1); sync_slave_with_master; connection master; diff --git a/mysql-test/extra/rpl_tests/rpl_loaddata.test b/mysql-test/extra/rpl_tests/rpl_loaddata.test index e58908ec7e9..111b66ff7fe 100644 --- a/mysql-test/extra/rpl_tests/rpl_loaddata.test +++ b/mysql-test/extra/rpl_tests/rpl_loaddata.test @@ -130,7 +130,7 @@ connection master; reset master; eval create table t2 (day date,id int(9),category enum('a','b','c'),name varchar(60), unique(day)) engine=$engine_type; # no transactions ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME load data infile '../std_data_ln/rpl_loaddata2.dat' into table t2 fields terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' starting by '>' ignore 1 lines; @@ -146,7 +146,7 @@ select * from t2; alter table t2 drop key day; connection master; delete from t2; ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME load data infile '../std_data_ln/rpl_loaddata2.dat' into table t2 fields terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' starting by '>' ignore 1 lines; diff --git a/mysql-test/extra/rpl_tests/rpl_row_basic.test b/mysql-test/extra/rpl_tests/rpl_row_basic.test index ea2c4c1688c..72a18eb11b6 100644 --- a/mysql-test/extra/rpl_tests/rpl_row_basic.test +++ b/mysql-test/extra/rpl_tests/rpl_row_basic.test @@ -196,11 +196,11 @@ eval CREATE TABLE t8 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = $t # First we make sure that the constraints are correctly set. INSERT INTO t8 VALUES (99,99,99); ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t8 VALUES (99,22,33); ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t8 VALUES (11,99,33); ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO t8 VALUES (11,22,99); SELECT * FROM t8 ORDER BY a; diff --git a/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test b/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test index 6abd2ae844e..654cb523f74 100644 --- a/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test +++ b/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test @@ -19,7 +19,7 @@ set sql_log_bin=0; insert into t1 values(2); set sql_log_bin=1; save_master_pos; ---error 1062 +--error ER_DUP_ENTRY_WITH_KEY_NAME insert into t1 values(1),(2); drop table t1; save_master_pos; diff --git a/mysql-test/extra/rpl_tests/rpl_trig004.test b/mysql-test/extra/rpl_tests/rpl_trig004.test index 0206241eae9..529e0465062 100644 --- a/mysql-test/extra/rpl_tests/rpl_trig004.test +++ b/mysql-test/extra/rpl_tests/rpl_trig004.test @@ -29,7 +29,7 @@ delimiter ;// INSERT INTO test.t2 VALUES (1, 0.0); # Expect duplicate error 1022 == ndb ---error 1022,1062 +--error 1022,error ER_DUP_ENTRY_WITH_KEY_NAME INSERT INTO test.t2 VALUES (1, 0.0); #show binlog events; |