diff options
author | unknown <bell@sanja.is.com.ua> | 2003-01-29 10:38:56 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-01-29 10:38:56 +0200 |
commit | cec5bc1de7aa1107ec988601de6a3990c6397446 (patch) | |
tree | 6a44df5398a1db055b33e2b93ad62a7e8693ceda /sql/item_strfunc.h | |
parent | 72455300841e1b00c312c3a03ace3bcbd57a4d2f (diff) | |
download | mariadb-git-cec5bc1de7aa1107ec988601de6a3990c6397446.tar.gz |
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
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<Item> &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<Item> &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<Item> &fields); void fix_length_and_dec(); void update_used_tables(); const char *func_name() const { return "make_set"; } |