Commit acc2e2ad authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Remove .TMD files on DROP DATABASE.

parent a66ddaf8
......@@ -104,14 +104,14 @@ int mysql_create_db(THD *thd, char *db, uint create_options, bool silent)
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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment