mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
Fix @@optimizer_switch support
- Let "mysqld --help --verbose" list all optimizer options - Make it possible to add new @@optimizer_switch flags w/o causing .result changes all over the testsuite: = Remove "select @@optimizer_switch" from tests that do not need all switches = Move @@optimizer_switch-specific tests to t/optimizer_switch.test
This commit is contained in:
parent
4274e9b5d4
commit
13058d8056
16 changed files with 233 additions and 292 deletions
|
|
@ -1,13 +1,9 @@
|
|||
#
|
||||
# Run subselect.test without semi-join optimization (test materialize)
|
||||
#
|
||||
--replace_regex /,table_elimination=on//
|
||||
show variables like 'optimizer_switch';
|
||||
set optimizer_switch='materialization=off,semijoin=off';
|
||||
|
||||
--source t/subselect.test
|
||||
|
||||
set optimizer_switch=default;
|
||||
--replace_regex /,table_elimination=on//
|
||||
show variables like 'optimizer_switch';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue