mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-23619: Merge 10.4 into 10.5
This commit is contained in:
@ -13768,6 +13768,9 @@ void JOIN::join_free()
|
||||
for (tmp_unit= select_lex->first_inner_unit();
|
||||
tmp_unit;
|
||||
tmp_unit= tmp_unit->next_unit())
|
||||
{
|
||||
if (tmp_unit->with_element && tmp_unit->with_element->is_recursive)
|
||||
continue;
|
||||
for (sl= tmp_unit->first_select(); sl; sl= sl->next_select())
|
||||
{
|
||||
Item_subselect *subselect= sl->master_unit()->item;
|
||||
@ -13785,7 +13788,7 @@ void JOIN::join_free()
|
||||
/* Can't unlock if at least one JOIN is still needed */
|
||||
can_unlock= can_unlock && full_local;
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
We are not using tables anymore
|
||||
Unlock all tables. We may be in an INSERT .... SELECT statement.
|
||||
|
Reference in New Issue
Block a user