mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 22:25:32 +02:00
MDEV-8989: ORDER BY optimizer ignores equality propagation
Post-fix #2: - Update test results - Make the optimization conditional under @@optimizer_switch flag. - The optimization is now disabled by default, so .result files are changed back to be what they were before the MDEV-8989 patch.
This commit is contained in:
parent
a85f6533f1
commit
5a5a54f7b4
16 changed files with 50 additions and 34 deletions
|
|
@ -2391,7 +2391,9 @@ export const char *optimizer_switch_names[]=
|
|||
"table_elimination",
|
||||
"extended_keys",
|
||||
"exists_to_in",
|
||||
"default", NullS
|
||||
"orderby_uses_equalities",
|
||||
"default",
|
||||
NullS
|
||||
};
|
||||
static bool fix_optimizer_switch(sys_var *self, THD *thd,
|
||||
enum_var_type type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue