Commit 36b8f34e authored by unknown's avatar unknown
Browse files

Updated tests for WL#1892

parent c1905226
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;