Remove .TMD files on DROP DATABASE.

This commit is contained in:
unknown 2001-11-22 18:19:27 +02:00
parent 38357b30e6
commit 1565d5e8ac

View file

@ -104,14 +104,14 @@ exit2:
DBUG_RETURN(error);
}
const char *del_exts[]= {".frm", ".BAK", NullS};
const char *del_exts[]= {".frm", ".BAK", ".TMD", NullS};
static TYPELIB deletable_extentions=
{array_elements(del_exts)-1,"del_exts", del_exts};
const char *known_exts[]=
{".ISM",".ISD",".ISM",".MRG",".MYI",".MYD", ".db", NullS};
{".ISM",".ISD",".ISM",".MRG",".MYI",".MYD",".db",NullS};
static TYPELIB known_extentions=
{array_elements(del_exts)-1,"del_exts", known_exts};
{array_elements(known_exts)-1,"known_exts", known_exts};
/*
Drop all tables in a database.