summaryrefslogtreecommitdiff
path: root/mysql-test/t/handler.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-01-28 14:36:22 +0100
committerunknown <serg@serg.mysql.com>2003-01-28 14:36:22 +0100
commitd490b56ed1d309cad0ace21a8542983702750f62 (patch)
tree440af93c0ae6daf3a1db266aa402a888dc276e30 /mysql-test/t/handler.test
parent3595556335b31d908555da9abaa669d3cfcce1e2 (diff)
downloadmariadb-git-d490b56ed1d309cad0ace21a8542983702750f62.tar.gz
fixed "DROP table_open_in_handler" hang
Diffstat (limited to 'mysql-test/t/handler.test')
-rw-r--r--mysql-test/t/handler.test21
1 files changed, 17 insertions, 4 deletions
diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test
index 4f1b11c80ff..f5bab7cf337 100644
--- a/mysql-test/t/handler.test
+++ b/mysql-test/t/handler.test
@@ -28,13 +28,15 @@ handler t2 read a next;
handler t2 read a=(15);
handler t2 read a=(16);
-!$1070 handler t2 read a=(19,"fff");
+--error 1070
+handler t2 read a=(19,"fff");
handler t2 read b=(19,"fff");
handler t2 read b=(19,"yyy");
handler t2 read b=(19);
-!$1109 handler t1 read a last;
+--error 1109
+handler t1 read a last;
handler t2 read a=(11);
handler t2 read a>=(11);
@@ -60,8 +62,19 @@ handler t2 read first;
handler t2 read next;
alter table t1 type=MyISAM;
handler t2 read next;
-!$1064 handler t2 read last;
+--error 1064
+handler t2 read last;
handler t2 close;
-drop table if exists t1;
+
+#
+# DROP TABLE
+#
+handler t1 open as t2;
+drop table t1;
+create table t1 (a int);
+insert into t1 values (17);
+--error 1109
+handler t2 read first;
+drop table t1;