test dropping of a MEMORY table
This commit is contained in:
parent
d2b852b4ca
commit
f17f7a43ba
3
mysql-test/suite/heap/drop.result
Normal file
3
mysql-test/suite/heap/drop.result
Normal file
@ -0,0 +1,3 @@
|
||||
create table t1 (a int) engine=memory;
|
||||
drop table t1;
|
||||
drop table t2;
|
11
mysql-test/suite/heap/drop.test
Normal file
11
mysql-test/suite/heap/drop.test
Normal file
@ -0,0 +1,11 @@
|
||||
create table t1 (a int) engine=memory;
|
||||
let $DATADIR= `select @@datadir`;
|
||||
copy_file $DATADIR/test/t1.frm $DATADIR/test/t2.frm;
|
||||
#
|
||||
# drop a newly created MEMORY table
|
||||
#
|
||||
drop table t1;
|
||||
#
|
||||
# drop a MEMORY table after a server restart (frm only, nothing in memory)
|
||||
#
|
||||
drop table t2;
|
Loading…
x
Reference in New Issue
Block a user