summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-07-26 12:52:02 +0500
committerunknown <bar@mysql.com>2005-07-26 12:52:02 +0500
commit8624bcfdbefb99e39a0f50e6e4937781c9417c38 (patch)
tree93cec98ff4dde7eadb4190e7d8c9103e06eaa86a /sql/item_func.h
parentbdc0c6719569e9a5224105c4a15d24d416f36017 (diff)
downloadmariadb-git-8624bcfdbefb99e39a0f50e6e4937781c9417c38.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, sql/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, sql/item.h: - 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, sql/item_func.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, sql/item_func.h: - 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, sql/item_sum.cc: Adding a call for collation/charset aggregation, to collect attributes from the arguments. The actual bug fix. mysql-test/t/func_gconcat.test: Adding test mysql-test/r/func_gconcat.result: Adding test
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h16
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);
};