mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@ -2097,6 +2097,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);
|
||||
}
|
||||
@ -2116,6 +2117,7 @@ retry_share:
|
||||
if (result)
|
||||
{
|
||||
MYSQL_UNBIND_TABLE(table->file);
|
||||
table->vcol_cleanup_expr(thd);
|
||||
tc_release_table(table);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
@ -7652,7 +7654,7 @@ bool setup_fields(THD *thd, Ref_ptr_array ref_pointer_array,
|
||||
while ((item= it++))
|
||||
{
|
||||
if (make_pre_fix)
|
||||
pre_fix->push_back(item, thd->stmt_arena->mem_root);
|
||||
pre_fix->push_back(item, thd->active_stmt_arena_to_use()->mem_root);
|
||||
|
||||
if (item->fix_fields_if_needed_for_scalar(thd, it.ref()))
|
||||
{
|
||||
|
Reference in New Issue
Block a user