1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Merge branch '10.4' into 10.5

This commit is contained in:
Sergei Golubchik
2022-02-10 21:04:51 +01:00
23 changed files with 5567 additions and 33 deletions

View File

@ -6396,8 +6396,11 @@ find_field_in_tables(THD *thd, Item_ident *item,
for (SELECT_LEX *sl= current_sel; sl && sl!=last_select;
sl=sl->outer_select())
{
Item_in_subselect *in_subs=
sl->master_unit()->item->get_IN_subquery();
Item *subs= sl->master_unit()->item;
if (!subs)
continue;
Item_in_subselect *in_subs= subs->get_IN_subquery();
if (in_subs &&
in_subs->substype() == Item_subselect::IN_SUBS &&
in_subs->test_strategy(SUBS_SEMI_JOIN))