23 if (info->merge_insert_method == MERGE_INSERT_TO_FIRST)
24 return mi_write((info->current_table=info->open_tables)->table,rec);
25 else if (info->merge_insert_method == MERGE_INSERT_TO_LAST)
26 return mi_write((info->current_table=info->end_table-1)->table,rec);
28 return (my_errno= HA_ERR_WRONG_COMMAND);