1
0
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:
Sergei Golubchik
2020-06-16 19:37:27 +02:00
parent d2b852b4ca
commit f17f7a43ba
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,3 @@
create table t1 (a int) engine=memory;
drop table t1;
drop table t2;

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