diff options
author | unknown <sanja@askmonty.org> | 2011-11-13 12:02:13 +0200 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2011-11-13 12:02:13 +0200 |
commit | f76bfc40ea697473e7f1bea211a68a22210e7b53 (patch) | |
tree | a2bd573afac2d9f2c60ed30a3ea03929eb81f296 /sql/item_subselect.h | |
parent | 3fb60b1df089b5c4df27b6039d1013039bde84e5 (diff) | |
download | mariadb-git-f76bfc40ea697473e7f1bea211a68a22210e7b53.tar.gz |
Fix for LP BUG#824425: Prohibiting subqueries in rows for left part of IN/ALL/ANY
Fix for walk() method of subqueries: always call the method on the subquery.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 0ec0969e0ae..2012306c0f7 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -226,6 +226,7 @@ public: const char *func_name() const { DBUG_ASSERT(0); return "subselect"; } 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; } friend class select_result_interceptor; friend class Item_in_optimizer; |