mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-18967 Load data in system version with long unique does not work
Update system versioning fields before generated columns for left out fill_record
This commit is contained in:
@@ -8439,12 +8439,12 @@ fill_record(THD *thd, TABLE *table_arg, List<Item> &fields, List<Item> &values,
|
||||
if (!update && table_arg->default_field &&
|
||||
table_arg->update_default_fields(0, ignore_errors))
|
||||
goto err;
|
||||
if (table_arg->versioned() && !only_unvers_fields)
|
||||
table_arg->vers_update_fields();
|
||||
/* Update virtual fields */
|
||||
if (table_arg->vfield &&
|
||||
table_arg->update_virtual_fields(table_arg->file, VCOL_UPDATE_FOR_WRITE))
|
||||
goto err;
|
||||
if (table_arg->versioned() && !only_unvers_fields)
|
||||
table_arg->vers_update_fields();
|
||||
thd->abort_on_warning= save_abort_on_warning;
|
||||
thd->no_errors= save_no_errors;
|
||||
DBUG_RETURN(thd->is_error());
|
||||
|
||||
Reference in New Issue
Block a user