1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed incorrectly use if table with wrong schema version

This commit is contained in:
unknown
2005-11-17 12:45:23 +01:00
parent 3a5a518de4
commit a710414c87
3 changed files with 42 additions and 7 deletions

View File

@ -179,8 +179,7 @@ a b c
2 two two
alter table t1 drop index c;
select * from t1 where b = 'two';
a b c
2 two two
ERROR HY000: Table definition has changed, please retry transaction
select * from t1 where b = 'two';
a b c
2 two two

View File

@ -147,6 +147,8 @@ select * from t1 where b = 'two';
connection server1;
alter table t1 drop index c;
connection server2;
# This should fail since index information is not automatically refreshed
--error 1105
select * from t1 where b = 'two';
select * from t1 where b = 'two';
connection server1;