mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed LP bug #899696.
If has been decided that the first match strategy is to be used to join table T from a semi-join nest while no buffer can be employed to join this table then no join buffer can be used to join any table in the join sequence between the first one belonging to the semi-join nest and table T.
This commit is contained in:
@ -8767,8 +8767,7 @@ void revise_cache_usage(JOIN_TAB *join_tab)
|
||||
first_inner= join_tab->first_sj_inner_tab;
|
||||
for (tab= join_tab-1; tab >= first_inner; tab--)
|
||||
{
|
||||
if (tab->first_sj_inner_tab == first_inner)
|
||||
set_join_cache_denial(tab);
|
||||
set_join_cache_denial(tab);
|
||||
}
|
||||
}
|
||||
else set_join_cache_denial(join_tab);
|
||||
|
Reference in New Issue
Block a user