mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Finish the merge of the patch for bug #15195 from 4.1 -> 5.0
- Adapt it to work with the handlerton class sql/handler.cc: Only create new MERGE handler if merge engine is enabled sql/mysql_priv.h: Use the myisammrg_hton.state field for the have_merge_db option sql/mysqld.cc: Handle the OPT_MERGE (--skip-merge) option case
This commit is contained in:
@@ -302,7 +302,9 @@ handler *get_new_handler(TABLE *table, MEM_ROOT *alloc, enum db_type db_type)
|
||||
#endif
|
||||
case DB_TYPE_MRG_MYISAM:
|
||||
case DB_TYPE_MRG_ISAM:
|
||||
return new (alloc) ha_myisammrg(table);
|
||||
if (have_merge_db == SHOW_OPTION_YES)
|
||||
return new (alloc) ha_myisammrg(table);
|
||||
return NULL;
|
||||
#ifdef HAVE_BERKELEY_DB
|
||||
case DB_TYPE_BERKELEY_DB:
|
||||
if (have_berkeley_db == SHOW_OPTION_YES)
|
||||
|
||||
Reference in New Issue
Block a user