mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Corrected Evgen's fix for bug #45191.
Made sure that join buffers could be used for inner tables of any semi-join when the first match strategy is employed.
This commit is contained in:
@@ -321,8 +321,8 @@ typedef struct st_join_table {
|
||||
}
|
||||
bool check_only_first_match()
|
||||
{
|
||||
return last_sj_inner_tab == this ||
|
||||
(first_inner && first_inner->last_inner == this &&
|
||||
return is_inner_table_of_semi_join_with_first_match() ||
|
||||
(is_inner_table_of_outer_join() &&
|
||||
table->reginfo.not_exists_optimize);
|
||||
}
|
||||
bool is_last_inner_table()
|
||||
|
||||
Reference in New Issue
Block a user