summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-04-25 12:23:52 +0400
committerSergey Petrunya <psergey@askmonty.org>2010-04-25 12:23:52 +0400
commitb2c57cedbfd0f8ce2b4f67021a2aca5dedf9b6c9 (patch)
tree4a5880d5723ea8c66289ffb340c46b911db454a1 /sql/opt_subselect.h
parent30bac798066ced860d65bee8b3ef63d7b100e47d (diff)
downloadmariadb-git-b2c57cedbfd0f8ce2b4f67021a2aca5dedf9b6c9.tar.gz
Code cleanup in subquery optimizations
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r--sql/opt_subselect.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index d8716dbb77f..a9ed25fe311 100644
--- a/sql/opt_subselect.h
+++ b/sql/opt_subselect.h
@@ -1,4 +1,6 @@
-/* */
+/*
+ Semi-join subquery optimization code definitions
+*/
#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
@@ -365,4 +367,8 @@ int clear_sj_tmp_tables(JOIN *join);
int rewrite_to_index_subquery_engine(JOIN *join);
+void get_temptable_params(Item_in_subselect *item, ha_rows *out_rows,
+ ha_rows *scan_time);
+
+int do_jtbm_materialization_if_needed(JOIN_TAB *tab);