diff options
author | unknown <jimw@mysql.com> | 2005-04-13 18:25:31 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-04-13 18:25:31 -0700 |
commit | e687d6beae78b980d984fdbfb518c494295d5200 (patch) | |
tree | 8b5c166c0512d3857d0370ccf09a492cfa4ae6a6 /sql/handler.h | |
parent | a40ecb481848ee7536a07506e68c2856ebac56ab (diff) | |
download | mariadb-git-e687d6beae78b980d984fdbfb518c494295d5200.tar.gz |
Check that the default storage engine is really available, and
refuse to start up if it is not. (Bug #9815)
sql/handler.cc:
Add ha_storage_engine_is_enabled function.
sql/handler.h:
Declare ha_storage_engine_is_enabled()
sql/mysqld.cc:
Abort startup if the specified default storage engine is
not available.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 4c31da6a492..d2f77c4149a 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -542,6 +542,7 @@ int ha_init(void); int ha_panic(enum ha_panic_function flag); void ha_close_connection(THD* thd); enum db_type ha_checktype(enum db_type database_type); +my_bool ha_storage_engine_is_enabled(enum db_type database_type); int ha_create_table(const char *name, HA_CREATE_INFO *create_info, bool update_create_info); int ha_create_table_from_engine(THD* thd, const char *db, const char *name, |