This commit is contained in:
Georgi Kodinov 2010-08-02 11:17:47 +03:00
commit 05e88a5bbf
5 changed files with 35 additions and 6 deletions

View file

@ -2531,6 +2531,8 @@ void Item_func_min_max::fix_length_and_dec()
decimals,
unsigned_flag));
}
else if (cmp_type == REAL_RESULT)
max_length= float_length(decimals);
cached_field_type= agg_field_type(args, arg_count);
}