tests updated

This commit is contained in:
unknown 2003-02-22 18:22:39 +01:00
parent feb8dc9ee5
commit 87ee470db0
2 changed files with 9 additions and 4 deletions

View File

@ -129,7 +129,6 @@ a b
handler t2 read next;
a b
18 eee
alter table t1 type=MyISAM;
handler t2 read next;
a b
19 fff
@ -142,4 +141,8 @@ create table t1 (a int);
insert into t1 values (17);
handler t2 read first;
Unknown table 't2' in HANDLER
handler t1 open as t2;
alter table t1 type=MyISAM;
handler t2 read first;
Unknown table 't2' in HANDLER
drop table t1;

View File

@ -60,15 +60,13 @@ handler t2 read a=(19) where b="yyy";
handler t2 read first;
handler t2 read next;
alter table t1 type=MyISAM;
handler t2 read next;
--error 1064
handler t2 read last;
handler t2 close;
#
# DROP TABLE
# DROP TABLE / ALTER TABLE
#
handler t1 open as t2;
drop table t1;
@ -76,5 +74,9 @@ create table t1 (a int);
insert into t1 values (17);
--error 1109
handler t2 read first;
handler t1 open as t2;
alter table t1 type=MyISAM;
--error 1109
handler t2 read first;
drop table t1;