innodb.test:

  Update Monty's tests for AUTO-INC bug #11080 and bug #11005
parent 64ed9d3a
......@@ -1364,8 +1364,8 @@ create table t1 (rowid int not null auto_increment, val int not null,primary
key (rowid), unique(val)) engine=innodb;
replace into t1 (val) values ('1'),('2');
replace into t1 (val) values ('1'),('2');
insert into t1 (val) values ('1'),('2');
--error 1062
insert into t1 (val) values ('1'),('2');
select * from t1;
drop table t1;
......@@ -1380,6 +1380,5 @@ update t1 set a=2 where a=1;
# We should get the following error because InnoDB does not update the counter
--error 1062
insert into t1 (val) values (1);
--error 1062
select * from t1;
drop table t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment