mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-28566 Assertion `!expr->is_fixed()' failed in bool virtual_column_info::fix_session_expr(THD*)
The problem was that table->vcol_cleanup_expr() was not called in case of error in open_table().
This commit is contained in:
@ -2191,6 +2191,7 @@ retry_share:
|
||||
if (thd->has_read_only_protection())
|
||||
{
|
||||
MYSQL_UNBIND_TABLE(table->file);
|
||||
table->vcol_cleanup_expr(thd);
|
||||
tc_release_table(table);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
@ -2210,6 +2211,7 @@ retry_share:
|
||||
if (result)
|
||||
{
|
||||
MYSQL_UNBIND_TABLE(table->file);
|
||||
table->vcol_cleanup_expr(thd);
|
||||
tc_release_table(table);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user