Changed the default setting of the optimizer switch 'optimize_join_buffer_size'.

Made it 'off' by default.
This commit is contained in:
Igor Babaev 2011-07-14 22:24:59 -07:00
commit 03081bc1fd
17 changed files with 34 additions and 21 deletions

View file

@ -613,8 +613,7 @@ enabled by default, add OPTIMIZER_SWITCH_MATERIALIZATION
OPTIMIZER_SWITCH_SUBQUERY_CACHE|\
OPTIMIZER_SWITCH_JOIN_CACHE_INCREMENTAL | \
OPTIMIZER_SWITCH_JOIN_CACHE_HASHED | \
OPTIMIZER_SWITCH_JOIN_CACHE_BKA | \
OPTIMIZER_SWITCH_OPTIMIZE_JOIN_BUFFER_SIZE)
OPTIMIZER_SWITCH_JOIN_CACHE_BKA)
/*
Replication uses 8 bytes to store SQL_MODE in the binary log. The day you