From 7a1406f229df002befeb91f39f57e15444aecb21 Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Sun, 18 Dec 2011 23:38:37 -0800 Subject: Fixed LP bug #904832. Do not perform index condition pushdown for conditions containing subqueries and stored functions. --- sql/item_subselect.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/item_subselect.h') 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 ¶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; -- cgit v1.2.1