mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
innodb.test:
Update Monty's tests for AUTO-INC bug #11080 and bug #11005
This commit is contained in:
parent
64ed9d3adc
commit
9ad74a806a
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue