mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed LP bug #889750.
If the optimizer switch 'semijoin_with_cache' is set to 'off' then join cache cannot be used to join inner tables of a semijoin. Also fixed a bug in the function check_join_cache_usage() that led to wrong output of the EXPLAIN commands for some test cases.
This commit is contained in:
@ -391,6 +391,10 @@ typedef struct st_join_table {
|
||||
{
|
||||
return first_sj_inner_tab != NULL;
|
||||
}
|
||||
bool is_inner_table_of_semijoin()
|
||||
{
|
||||
return emb_sj_nest != NULL;
|
||||
}
|
||||
bool is_inner_table_of_outer_join()
|
||||
{
|
||||
return first_inner != NULL;
|
||||
|
Reference in New Issue
Block a user