From cec5bc1de7aa1107ec988601de6a3990c6397446 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 Jan 2003 10:38:56 +0200 Subject: fixed functions to be able work with group function as argument made bisone 1.75 compatible code mysql-test/r/group_by.result: test of function with agregate function inside mysql-test/t/group_by.test: test of function with agregate function inside sql/item_cmpfunc.cc: fixed functions to be able work with group function as argument sql/item_cmpfunc.h: fixed functions to be able work with group function as argument sql/item_func.cc: fixed functions to be able work with group function as argument sql/item_func.h: fixed functions to be able work with group function as argument sql/item_strfunc.cc: fixed functions to be able work with group function as argument sql/item_strfunc.h: fixed functions to be able work with group function as argument sql/sql_yacc.yy: made bisone 1.75 compatible code BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- sql/item_strfunc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sql/item_strfunc.h') diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 8f7049cd8f6..a955c0ed4f3 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -75,7 +75,8 @@ public: return (separator->fix_fields(thd,tlist) || Item_func::fix_fields(thd,tlist)); } - const char *func_name() const { return "concat_ws"; } + void split_sum_func(List &fields); + const char *func_name() const { return "concat_ws"; } }; class Item_func_reverse :public Item_str_func @@ -296,6 +297,7 @@ public: { return (item->fix_fields(thd,tlist) || Item_func::fix_fields(thd,tlist)); } + void split_sum_func(List &fields); void fix_length_and_dec(); void update_used_tables(); const char *func_name() const { return "elt"; } @@ -315,6 +317,7 @@ public: { return (item->fix_fields(thd,tlist) || Item_func::fix_fields(thd,tlist)); } + void split_sum_func(List &fields); void fix_length_and_dec(); void update_used_tables(); const char *func_name() const { return "make_set"; } -- cgit v1.2.1