diff options
author | bar@mysql.com <> | 2005-07-26 12:52:02 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2005-07-26 12:52:02 +0500 |
commit | 0c2035b7bd4a742871414627f315df68fa4dcd34 (patch) | |
tree | 93cec98ff4dde7eadb4190e7d8c9103e06eaa86a /sql/item_func.h | |
parent | ef3bc773dbc5060c2953739bbd014a29a2c7a0c4 (diff) | |
download | mariadb-git-0c2035b7bd4a742871414627f315df68fa4dcd34.tar.gz |
func_gconcat.result, func_gconcat.test:
Adding test
item_sum.cc:
Adding a call for collation/charset aggregation,
to collect attributes from the arguments. The actual bug fix.
item_func.h, item_func.cc, item.h, item.cc:
- Removing collation aggrgation functions from Item_func class
in item.cc, and adding it as non-class functions in item.cc
to be able to reuse this code for group_concat.
- Adding replacement for these functions into Item_func class
as wrappers for moved functions, to minizize patch size,
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 5e36f9863bb..5d6cc445317 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -145,12 +145,22 @@ public: Item *get_tmp_table_item(THD *thd); bool agg_arg_collations(DTCollation &c, Item **items, uint nitems, - uint flags= 0); + uint flags= 0) + { + return agg_item_collations(c, func_name(), items, nitems, flags); + } bool agg_arg_collations_for_comparison(DTCollation &c, Item **items, uint nitems, - uint flags= 0); + uint flags= 0) + { + return agg_item_collations_for_comparison(c, func_name(), + items, nitems, flags); + } bool agg_arg_charsets(DTCollation &c, Item **items, uint nitems, - uint flags= 0); + uint flags= 0) + { + return agg_item_charsets(c, func_name(), items, nitems, flags); + } bool walk(Item_processor processor, byte *arg); }; |