diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-07-25 20:53:49 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-07-25 20:53:49 +0400 |
commit | 2b0f6ece7bd35399de861f1dd5d1ae540ee89ff6 (patch) | |
tree | 1e9216bd7901c2a09b12488bec3f6dae77416b78 /sql/sql_select.h | |
parent | 0b79fe2b30e7a82a823e7c134eb69cfc0c078f95 (diff) | |
parent | 55597a48698b267b966873727b079cd3ac0d1c18 (diff) | |
download | mariadb-git-2b0f6ece7bd35399de861f1dd5d1ae540ee89ff6.tar.gz |
Merge 5.5-main -> 5.5-show-explain
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index d0677f069e7..4b2663eaac8 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -519,6 +519,7 @@ typedef struct st_join_table { return (is_hash_join_key_no(key) ? hj_key : table->key_info+key); } double scan_time(); + ha_rows get_examined_rows(); bool preread_init(); bool is_sjm_nest() { return test(bush_children); } @@ -1321,6 +1322,7 @@ public: bool alloc_func_list(); bool flatten_subqueries(); bool optimize_unflattened_subqueries(); + bool optimize_constant_subqueries(); bool make_sum_func_list(List<Item> &all_fields, List<Item> &send_fields, bool before_group_by, bool recompute= FALSE); @@ -1420,6 +1422,7 @@ public: void get_prefix_cost_and_fanout(uint n_tables, double *read_time_arg, double *record_count_arg); + double get_examined_rows(); /* defined in opt_subselect.cc */ bool transform_max_min_subquery(); /* True if this JOIN is a subquery under an IN predicate. */ |