Commit d3426c4c authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-26262 fixup: Remove a bogus assertion

In commit 1811fd51 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.
parent 2e844a08
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment