mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
5.5 merge
This commit is contained in:
commit
d9c01e4b4a
159 changed files with 2564 additions and 454 deletions
|
|
@ -1758,7 +1758,7 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
|
|||
|
||||
table->file->adjust_next_insert_id_after_explicit_value(table->next_number_field->val_int());
|
||||
}
|
||||
else
|
||||
else if (prev_insert_id_for_cur_row)
|
||||
{
|
||||
table->file->restore_auto_increment(prev_insert_id_for_cur_row);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue