summaryrefslogtreecommitdiff
path: root/mysql-test/t/replace.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/replace.test')
-rw-r--r--mysql-test/t/replace.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/replace.test b/mysql-test/t/replace.test
index 3d32a8c0da6..3f2569b0c62 100644
--- a/mysql-test/t/replace.test
+++ b/mysql-test/t/replace.test
@@ -25,9 +25,9 @@ drop table t1;
create table t1 (a tinyint not null auto_increment primary key, b char(20) default "default_value");
insert into t1 values (126,"first"),(63, "middle"),(0,"last");
---error 167
+--error HA_ERR_AUTOINC_ERANGE
insert into t1 values (0,"error");
---error 167
+--error HA_ERR_AUTOINC_ERANGE
replace into t1 values (0,"error");
replace into t1 values (126,"first updated");
replace into t1 values (63,default);