mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b4b7d941fe
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
No EOL
306 B
Text
9 lines
No EOL
306 B
Text
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; |