review fix

This commit is contained in:
unknown 2006-05-24 15:01:03 -04:00
parent b6553aacc2
commit 6b8eccfbdc

View file

@ -442,7 +442,7 @@ bool partition_info::check_engine_mix(handlerton **engine_array, uint no_parts)
DBUG_RETURN(TRUE); DBUG_RETURN(TRUE);
} }
} while (++i < no_parts); } while (++i < no_parts);
if (ha_legacy_type(engine_array[0]) == DB_TYPE_MRG_MYISAM) if (engine_array[0] == &myisammrg_hton)
{ {
my_error(ER_PARTITION_MERGE_ERROR, MYF(0)); my_error(ER_PARTITION_MERGE_ERROR, MYF(0));
DBUG_RETURN(TRUE); DBUG_RETURN(TRUE);