innodb.test:

Update Monty's tests for AUTO-INC bug #11080 and bug #11005
This commit is contained in:
heikki@hundin.mysql.fi 2005-06-07 12:29:49 +03:00
parent 64ed9d3adc
commit 9ad74a806a

View file

@ -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;