mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed "DROP table_open_in_handler" hang
This commit is contained in:
@ -136,4 +136,10 @@ a b
|
||||
handler t2 read last;
|
||||
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
|
||||
handler t2 close;
|
||||
drop table if exists t1;
|
||||
handler t1 open as t2;
|
||||
drop table t1;
|
||||
create table t1 (a int);
|
||||
insert into t1 values (17);
|
||||
handler t2 read first;
|
||||
Unknown table 't2' in HANDLER
|
||||
drop table t1;
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user