1
0
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:
Igor Babaev
2011-12-04 07:43:33 -08:00
parent 921004e79d
commit b5a05df61e
3 changed files with 56 additions and 2 deletions

View File

@ -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);