diff options
author | unknown <sanja@askmonty.org> | 2014-06-09 13:42:21 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2014-06-09 13:42:21 +0300 |
commit | 4cd676cbd9c486e14e2f06ec77bf3b1e63fa79e3 (patch) | |
tree | a196b193dbfa61a796e6a86ab1a32e6d5081988c /sql/sql_priv.h | |
parent | 23a5b2eb6d3ebb2536186c4bd324c39cb2768450 (diff) | |
download | mariadb-git-4cd676cbd9c486e14e2f06ec77bf3b1e63fa79e3.tar.gz |
MDEV-6047: Make exists_to_in optimization ON by default
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r-- | sql/sql_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h index 0676fca8fdc..5dc19181e9b 100644 --- a/sql/sql_priv.h +++ b/sql/sql_priv.h @@ -253,7 +253,8 @@ template <class T> bool valid_buffer_range(T jump, OPTIMIZER_SWITCH_SUBQUERY_CACHE | \ OPTIMIZER_SWITCH_SEMIJOIN | \ OPTIMIZER_SWITCH_FIRSTMATCH | \ - OPTIMIZER_SWITCH_LOOSE_SCAN ) + OPTIMIZER_SWITCH_LOOSE_SCAN | \ + OPTIMIZER_SWITCH_EXISTS_TO_IN) /* Replication uses 8 bytes to store SQL_MODE in the binary log. The day you use strictly more than 64 bits by adding one more define above, you should |