BUG#19304: Merge handler not part of partitioned tables
Review fix sql/partition_info.cc: Review fix
This commit is contained in:
parent
1e12f9462b
commit
301c7e0721
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user