diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-04-17 12:36:31 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-04-17 12:36:31 +0400 |
commit | 8125db1d9ae489162f08560f42c60c10a316afbc (patch) | |
tree | b06bf2b606754d2829c0737aadc5bb8778d46672 /sql/sql_udf.h | |
parent | 99898c6f760c7b9678906f4830451eb57f37e899 (diff) | |
download | mariadb-git-8125db1d9ae489162f08560f42c60c10a316afbc.tar.gz |
Moving fix_length_and_dec() from Item_result_field to Item_func_or_sum,
as the other decendants of Item_result_field (Item_avg_field,
Item_variance_field, Item_cache_wrapper) don't need fix_length_and_dec().
Diffstat (limited to 'sql/sql_udf.h')
-rw-r--r-- | sql/sql_udf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_udf.h b/sql/sql_udf.h index 4aa055b9858..076c5440aef 100644 --- a/sql/sql_udf.h +++ b/sql/sql_udf.h @@ -76,7 +76,7 @@ class udf_handler :public Sql_alloc Item_result result_type () const { return u_d ? u_d->returns : STRING_RESULT;} bool get_arguments(); - bool fix_fields(THD *thd, Item_result_field *item, + bool fix_fields(THD *thd, Item_func_or_sum *item, uint arg_count, Item **args); void cleanup(); double val(my_bool *null_value) |