summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-07-16 13:07:11 +0400
committerSergey Petrunya <psergey@askmonty.org>2010-07-16 13:07:11 +0400
commit75bba30c5a0e65e3f5501492603370c7afc9444b (patch)
tree6fd14050aba93e18e2581fa50f622dd8c9f50550 /sql
parentb8a1354ae7871a3ec850abbe30128289c08ade63 (diff)
parent13058d8056cea616a39f82d18d1ab061cbbf0bcb (diff)
downloadmariadb-git-75bba30c5a0e65e3f5501492603370c7afc9444b.tar.gz
Merge
Diffstat (limited to 'sql')
-rw-r--r--sql/mysqld.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 5bc26154790..1593a584454 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -409,6 +409,12 @@ static const char *optimizer_switch_str="index_merge=on,index_merge_union=on,"
"index_merge_sort_union=on,"
"index_merge_intersection=on,"
"index_condition_pushdown=on,"
+ "firstmatch=on,"
+ "loosescan=on,"
+ "materialization=on,"
+ "semijoin=on,"
+ "partial_match_rowid_merge=on,"
+ "partial_match_table_scan=on,"
"subquery_cache=on"
#ifndef DBUG_OFF
",table_elimination=on";
@@ -7227,7 +7233,9 @@ The minimum value for this variable is 4096.",
{"optimizer_switch", OPT_OPTIMIZER_SWITCH,
"optimizer_switch=option=val[,option=val...], where option={index_merge, "
"index_merge_union, index_merge_sort_union, index_merge_intersection, "
- "index_condition_pushdown, subquery_cache"
+ "index_condition_pushdown, firstmatch, loosescan, materialization, "
+ "semijoin, partial_match_rowid_merge, partial_match_table_scan, "
+ "subquery_cache"
#ifndef DBUG_OFF
", table_elimination"
#endif