Commit 301c7e07 authored by unknown's avatar unknown

BUG#19304: Merge handler not part of partitioned tables

Review fix


sql/partition_info.cc:
  Review fix
parent 1e12f946
......@@ -441,7 +441,7 @@ bool partition_info::check_engine_mix(handlerton **engine_array, uint no_parts)
DBUG_RETURN(TRUE);
}
} while (++i < no_parts);
if (!strcmp(engine_array[0]->name,"MRG_MYISAM"))
if (ha_legacy_type(engine_array[0]) == DB_TYPE_MRG_MYISAM)
{
my_error(ER_PARTITION_MERGE_ERROR, MYF(0));
DBUG_RETURN(TRUE);
......
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