Commit 15fd6003 authored by unknown's avatar unknown

Remove .TMD files on DROP DATABASE.

parent cb304292
...@@ -104,14 +104,14 @@ int mysql_create_db(THD *thd, char *db, uint create_options, bool silent) ...@@ -104,14 +104,14 @@ int mysql_create_db(THD *thd, char *db, uint create_options, bool silent)
DBUG_RETURN(error); DBUG_RETURN(error);
} }
const char *del_exts[]= {".frm", ".BAK", NullS}; const char *del_exts[]= {".frm", ".BAK", ".TMD", NullS};
static TYPELIB deletable_extentions= static TYPELIB deletable_extentions=
{array_elements(del_exts)-1,"del_exts", del_exts}; {array_elements(del_exts)-1,"del_exts", del_exts};
const char *known_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= 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. 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