mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
The changes to galera.galear_var_replicate_myisam_on in commitd9b933bec6
are omitted due to conflicts with commit27d66d644c
.
This commit is contained in:
@@ -1347,7 +1347,10 @@ bool parse_vcol_defs(THD *thd, MEM_ROOT *mem_root, TABLE *table,
|
||||
if (check_vcol_forward_refs(field, field->vcol_info, 0) ||
|
||||
check_vcol_forward_refs(field, field->check_constraint, 1) ||
|
||||
check_vcol_forward_refs(field, field->default_value, 0))
|
||||
{
|
||||
*error_reported= true;
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
table->find_constraint_correlated_indexes();
|
||||
@@ -2647,9 +2650,9 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write,
|
||||
if (versioned)
|
||||
{
|
||||
if (i == vers.start_fieldno)
|
||||
flags|= VERS_SYS_START_FLAG;
|
||||
flags|= VERS_ROW_START;
|
||||
else if (i == vers.end_fieldno)
|
||||
flags|= VERS_SYS_END_FLAG;
|
||||
flags|= VERS_ROW_END;
|
||||
|
||||
if (flags & VERS_SYSTEM_FIELD)
|
||||
{
|
||||
|
Reference in New Issue
Block a user