mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
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.
9 lines
306 B
Plaintext
9 lines
306 B
Plaintext
set @subselect_extra_no_sj_tmp=@@optimizer_switch;
|
|
|
|
set @optimizer_switch_for_subselect_extra_test='semijoin=off,firstmatch=off,loosescan=off,semijoin_with_cache=off';
|
|
|
|
--source t/subselect_extra.test
|
|
|
|
set optimizer_switch= @subselect_extra_no_sj_tmp;
|
|
|
|
set @optimizer_switch_for_subselect_extra_test=null; |