mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-18278 Misleading error message in error log upon failed table creation
If error_reported is not set upper caller open_table_from_share() throws error ER_NOT_FORM_FILE itself via open_table_error().
This commit is contained in:
@@ -1157,7 +1157,10 @@ bool parse_vcol_defs(THD *thd, MEM_ROOT *mem_root, TABLE *table,
|
||||
if (check_vcol_forward_refs(field, field->vcol_info) ||
|
||||
check_vcol_forward_refs(field, field->check_constraint) ||
|
||||
check_vcol_forward_refs(field, field->default_value))
|
||||
{
|
||||
*error_reported= true;
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
res=0;
|
||||
|
Reference in New Issue
Block a user