Updated tests for WL#1892

This commit is contained in:
unknown 2006-01-31 18:31:37 +01:00
parent c190522684
commit 36b8f34e6f
4 changed files with 7 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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