diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-02-15 20:29:57 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-02-15 20:29:57 +0300 |
commit | e4325ff60b234c9bc5e79cebead7376b59b3dcc5 (patch) | |
tree | 226c56878600a348a2bdd8c6b576c6e15627291d /sql/opt_subselect.h | |
parent | 6c9076256fd2e1a07457add0e20207a6c64480bd (diff) | |
parent | 7b9bcaa5ecdc6a2d784f092fd4b56eb84bac7f60 (diff) | |
download | mariadb-git-e4325ff60b234c9bc5e79cebead7376b59b3dcc5.tar.gz |
MWL#90: Subqueries: Inside-out execution for materialized non-sj subqueries
- Merge with 5.3 (3)
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r-- | sql/opt_subselect.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h index 47d85d5c38d..4d89609e1a8 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 */ @@ -366,4 +368,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); |