summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <acurtis@pcgem.rdg.cyberkinetica.com>2004-11-10 15:07:11 +0000
committerunknown <acurtis@pcgem.rdg.cyberkinetica.com>2004-11-10 15:07:11 +0000
commit97af0a0e8f3353cc849b33bf5b733764da7cb202 (patch)
treede1fa1728e015b8f24570971ae1ceb8920b875d4 /sql/handler.h
parent81880bab136d5df8cfdc47a953cff1442adb11f6 (diff)
downloadmariadb-git-97af0a0e8f3353cc849b33bf5b733764da7cb202.tar.gz
Bug#6031 - To drop database you have to execute DROP DATABASE command twice.
DROP DATABASE failed because of file ext not in TYPELIB of known extensions. General solution - construct a TYPELIB at runtime instead of a static list. mysql-test/r/ndb_basic.result: Bug#6031 New test for bug mysql-test/t/ndb_basic.test: Bug#6031 New test for bug sql/ha_ndbcluster.cc: Cosmetic fix sql/handler.cc: Bug#6031 New function - ha_known_exts() We can construct TYPELIB of known db file extensions. sql/handler.h: Bug#6031 New function - ha_known_exts() sql/sql_db.cc: Bug#6031 We use a constructed list of known extensions instead of a static list
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index a7ce4e708fd..54a416d80ad 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -567,5 +567,5 @@ int ha_discover(THD* thd, const char* dbname, const char* name,
int ha_find_files(THD *thd,const char *db,const char *path,
const char *wild, bool dir,List<char>* files);
int ha_table_exists(THD* thd, const char* db, const char* name);
-
+TYPELIB *ha_known_exts(void);