summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-12-18 23:38:37 -0800
committerIgor Babaev <igor@askmonty.org>2011-12-18 23:38:37 -0800
commit7a1406f229df002befeb91f39f57e15444aecb21 (patch)
tree42a7ecb4198e90a067b21f4cede12cc08dea28c5 /sql/item_subselect.h
parent2bfd02cea95a774dbc82b51fafa2bf727b9bb0ff (diff)
downloadmariadb-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.h4
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> &parameters);
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;