MDEV-26262 fixup: Remove a bogus assertion
In commit 1811fd51fbae9e6c1f06ce93faef2bf1279cd3b6 the assertion should have said error_reported instead of !error_reported. But, that revised assertion would still fail in main.defaults where ER_BAD_DATA is reported during CREATE TABLE.
This commit is contained in:
parent
2e844a08f7
commit
d3426c4c0c
@ -3282,9 +3282,6 @@ enum open_frm_error open_table_from_share(THD *thd, TABLE_SHARE *share,
|
||||
&error_reported, mode))
|
||||
{
|
||||
error= OPEN_FRM_CORRUPTED;
|
||||
// parse_vcol_defs may fail by semantic reasons, which is ok, but the
|
||||
// real corruption should never be reported during table creation
|
||||
DBUG_ASSERT(!is_create_table || !error_reported);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user