summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-04-17 09:52:44 +0400
committerAlexander Barkov <bar@mariadb.org>2015-04-17 09:52:44 +0400
commit99898c6f760c7b9678906f4830451eb57f37e899 (patch)
tree6d55681d6602864db6ca4b500bd15f77cd797f0f /sql/item_subselect.h
parent3c4668c519999e002182a8c48cde93c3ebfaddd7 (diff)
downloadmariadb-git-99898c6f760c7b9678906f4830451eb57f37e899.tar.gz
Minor reorganization in Item hierarchy, to remove duplicate code.
- Adding a new class Item_args, represending regular function or aggregate function arguments array. - Adding a new class Item_func_or_sum, a parent class for Item_func and Item_sum - Moving Item_result_field::name() to Item_func_or_sum(), as name() is not needed on Item_result_field level.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 92b269d02f1..add2e0b6f9b 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -240,7 +240,6 @@ public:
@return the SELECT_LEX structure associated with this Item
*/
st_select_lex* get_select_lex();
- const char *func_name() const { DBUG_ASSERT(0); return "subselect"; }
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; }