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

MDEV-20732 Correctly set the length of the FORMAT() result for float data type as argument.

This commit is contained in:
Gagan Goel
2019-12-30 15:11:01 -05:00
committed by Robert Bindar
parent 1c97cd339e
commit f0ca9bc669
6 changed files with 28 additions and 5 deletions

View File

@ -3550,7 +3550,7 @@ Type_handler_general_purpose_int::Item_decimal_notation_int_digits(
/*************************************************************************/
/*
Decimal to binary digits ratio converges to log2(10) thus using 3 as
Binary to Decimal digits ratio converges to log2(10) thus using 3 as
a divisor.
*/
uint32