1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fixed "DROP table_open_in_handler" hang

This commit is contained in:
unknown
2003-01-28 14:36:22 +01:00
parent 3595556335
commit d490b56ed1
5 changed files with 49 additions and 21 deletions

View File

@@ -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;