summaryrefslogtreecommitdiff
path: root/mysql-test/t/handler.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-02-22 18:22:39 +0100
committerunknown <serg@serg.mysql.com>2003-02-22 18:22:39 +0100
commit79b3ec90dda293969c694e0995aac02f0db1ac3a (patch)
treee9499380cdbd24f4eb6ad141c2a962920c90a3ab /mysql-test/t/handler.test
parent6ef90e0afbb5f9be2be226fb3a72834ebd318cf6 (diff)
downloadmariadb-git-79b3ec90dda293969c694e0995aac02f0db1ac3a.tar.gz
tests updated
Diffstat (limited to 'mysql-test/t/handler.test')
-rw-r--r--mysql-test/t/handler.test8
1 files changed, 5 insertions, 3 deletions
diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test
index f5bab7cf337..7020a4ab3d3 100644
--- a/mysql-test/t/handler.test
+++ b/mysql-test/t/handler.test
@@ -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;