summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorpsergey <psergey@epc>2010-07-11 19:18:43 +0400
committerpsergey <psergey@epc>2010-07-11 19:18:43 +0400
commit3a9aabaa26d9ae2b0c7d83669231385045f6e992 (patch)
tree6fdb76034ed876efa3f88390bc9fcc09ea17e2e7 /sql/opt_subselect.h
parente5f238a05152efbd4b05425511eeed59c3026779 (diff)
parent946aef4a58337c6e5adf5a08d04dd397630f0c46 (diff)
downloadmariadb-git-3a9aabaa26d9ae2b0c7d83669231385045f6e992.tar.gz
MWL#90: Subqueries: Inside-out execution for materialized non-sj subqueries
- Merge with MariaDB 5.3 -main
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r--sql/opt_subselect.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index e9b93085aea..539fa806ed0 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,10 @@ int clear_sj_tmp_tables(JOIN *join);
int rewrite_to_index_subquery_engine(JOIN *join);
+void get_delayed_table_estimates(TABLE *table,
+ ha_rows *out_rows,
+ double *scan_time,
+ double *startup_cost);
+
+enum_nested_loop_state join_tab_execution_startup(JOIN_TAB *tab);