diff options
author | Igor Babaev <igor@askmonty.org> | 2011-12-18 23:38:37 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-12-18 23:38:37 -0800 |
commit | 7a1406f229df002befeb91f39f57e15444aecb21 (patch) | |
tree | 42a7ecb4198e90a067b21f4cede12cc08dea28c5 /sql/item_subselect.h | |
parent | 2bfd02cea95a774dbc82b51fafa2bf727b9bb0ff (diff) | |
download | mariadb-git-7a1406f229df002befeb91f39f57e15444aecb21.tar.gz |
Fixed LP bug #904832.
Do not perform index condition pushdown for conditions containing subqueries
and stored functions.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 60ca851c881..79044ccf3f7 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -229,6 +229,10 @@ public: virtual bool expr_cache_is_needed(THD *); virtual void get_cache_parameters(List<Item> ¶meters); virtual bool is_subquery_processor (uchar *opt_arg) { return 1; } + bool limit_index_condition_pushdown_processor(uchar *opt_arg) + { + return TRUE; + } friend class select_result_interceptor; friend class Item_in_optimizer; |