BUG#19304: Merge handler not part of partitioned tables

Review fix
parent 0bd08dd4
......@@ -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