mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
SQL: DEFAULT value for system fields [closes #376]
This commit is contained in:
@ -8045,6 +8045,8 @@ fill_record(THD *thd, TABLE *table_arg, List<Item> &fields, List<Item> &values,
|
||||
if (table->versioned() && rfield->vers_sys_field() &&
|
||||
!ignore_errors)
|
||||
{
|
||||
if (type == Item::DEFAULT_VALUE_ITEM)
|
||||
continue;
|
||||
my_error(ER_VERS_READONLY_FIELD, MYF(0), rfield->field_name.str);
|
||||
goto err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user