1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

@@optimizer_switch backport and change from no_xxx to xx=on|off: post-review fixes

This commit is contained in:
Sergey Petrunia
2009-03-14 21:58:23 +03:00
parent d99215334e
commit c7e44fddfc
7 changed files with 136 additions and 59 deletions

View File

@ -530,6 +530,7 @@ protected:
#define OPTIMIZER_SWITCH_INDEX_MERGE_INTERSECT 8
#define OPTIMIZER_SWITCH_LAST 16
/* The following must be kept in sync with optimizer_switch_str in mysqld.cc */
#define OPTIMIZER_SWITCH_DEFAULT (OPTIMIZER_SWITCH_INDEX_MERGE | \
OPTIMIZER_SWITCH_INDEX_MERGE_UNION | \
OPTIMIZER_SWITCH_INDEX_MERGE_SORT_UNION | \