mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Updated tests for WL#1892
This commit is contained in:
parent
c190522684
commit
36b8f34e6f
4 changed files with 7 additions and 2 deletions
|
@ -8,6 +8,8 @@ a b c
|
|||
2 two two
|
||||
alter table t1 drop index c;
|
||||
select * from t1 where c = 'two';
|
||||
ERROR HY000: Table definition has changed, please retry transaction
|
||||
select * from t1 where c = 'two';
|
||||
a b c
|
||||
2 two two
|
||||
drop table t1;
|
||||
|
|
|
@ -8,7 +8,7 @@ a b c
|
|||
2 two two
|
||||
alter table t1 drop index c;
|
||||
select * from t1 where c = 'two';
|
||||
ERROR HY000: Can't lock file (errno: 159)
|
||||
ERROR HY000: Table definition has changed, please retry transaction
|
||||
select * from t1 where c = 'two';
|
||||
a b c
|
||||
2 two two
|
||||
|
|
|
@ -17,6 +17,9 @@ select * from t1 where c = 'two';
|
|||
connection server1;
|
||||
alter table t1 drop index c;
|
||||
connection server2;
|
||||
--error 1412
|
||||
select * from t1 where c = 'two';
|
||||
--sleep 5
|
||||
select * from t1 where c = 'two';
|
||||
connection server1;
|
||||
drop table t1;
|
||||
|
|
|
@ -17,7 +17,7 @@ select * from t1 where c = 'two';
|
|||
connection server1;
|
||||
alter table t1 drop index c;
|
||||
connection server2;
|
||||
-- error 1015
|
||||
-- error 1412
|
||||
select * from t1 where c = 'two';
|
||||
select * from t1 where c = 'two';
|
||||
connection server1;
|
||||
|
|
Loading…
Reference in a new issue