1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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().
This commit is contained in:
Alexander Barkov
2015-04-17 12:36:31 +04:00
parent 99898c6f76
commit 8125db1d9a
4 changed files with 3 additions and 6 deletions

View File

@ -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)