diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-05-23 23:13:18 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-05-23 23:13:18 +0400 |
commit | 3f595889d35c81540eb14ef3c53105cb6c4db833 (patch) | |
tree | b3c1f3047009d3d94a41c169093b843883ee4470 /sql/opt_subselect.h | |
parent | ed8aa9868e074e6489f3b71f585606b6eecc97c6 (diff) | |
download | mariadb-git-3f595889d35c81540eb14ef3c53105cb6c4db833.tar.gz |
Subqueries: Inside-out execution for non-semijoin materialized subqueries that are AND-parts of the WHERE
- Code cleanup
- Query plan change is due to s/ha_rows JOIN_TAB::read_time/double JOIN_TAB::read_time/
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r-- | sql/opt_subselect.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h index 75e4a0df202..2f6c9d87367 100644 --- a/sql/opt_subselect.h +++ b/sql/opt_subselect.h @@ -367,8 +367,10 @@ 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); +void get_delayed_table_estimates(TABLE *table, + ha_rows *out_rows, + double *scan_time, + double *startup_cost); bool do_jtbm_materialization_if_needed(JOIN_TAB *tab); |