>>>>> "Timothy" == Timothy Smith <tim@stripped> writes:
Timothy> In every instance but one, write_row() is called with
Timothy> I'm not sure why ha_myisam::write_row() would only update the
Timothy> auto_increment counter if buf == table->record. I suppose it
Timothy> could be an optimization for create_myisam_from_heap(), but that
Timothy> seems unlikely. Maybe Monty can explain a bit more.
The check is mainly there because the auto_increment update code only
works with record.
As we always uses record for write_row, except in sql_acl.cc,
(where we don't use auto_increment keys), this restriction isn't a