mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
test dropping of a MEMORY table
This commit is contained in:
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;
|
Reference in New Issue
Block a user