1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed core dump with long timezone names

Don't abort on bootstrap if a wrong --default-storage-engine is specified
This commit is contained in:
monty@mishka.local
2005-04-16 03:40:33 +03:00
parent ab939dce27
commit 8d919770c7
3 changed files with 21 additions and 18 deletions

View File

@@ -163,13 +163,8 @@ my_bool ha_storage_engine_is_enabled(enum db_type database_type)
enum db_type ha_checktype(enum db_type database_type)
{
show_table_type_st *types;
for (types= sys_table_types; types->type; types++)
{
if ((database_type == types->db_type) &&
(*types->value == SHOW_OPTION_YES))
return database_type;
}
if (ha_storage_engine_is_enabled(database_type))
return database_type;
switch (database_type) {
#ifndef NO_HASH