HA_ERR_TABLE_DEF_CHANGED support in ha_archive

This commit is contained in:
Sergei Golubchik 2013-04-09 15:50:55 +02:00
commit f597a6a694
6 changed files with 102 additions and 66 deletions

View file

@ -12815,9 +12815,8 @@ DROP TABLE t1;
#
create table t1 (a int, b char(50)) engine=archive;
select * from t1;
ERROR HY000: Table 't1' is marked as crashed and should be repaired
a b
1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
show warnings;
Level Code Message
Warning 127 Got error 127 when reading table `test`.`t1`
Error 1194 Table 't1' is marked as crashed and should be repaired
drop table t1;