1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

hf's fix for bug #9060 (FORMAT returns incorrect result)

we need proper rounding there
This commit is contained in:
ramil@mysql.com
2005-05-20 01:04:08 +05:00
parent ad2e3a6170
commit b06181bccd
5 changed files with 24 additions and 8 deletions

View File

@ -54,6 +54,11 @@ SELECT ASIN(1.2-0.2);
#select floor(log(8)/log(2));
#select floor(log(16)/log(2));
#
# Bug #9060 (format returns incorrect result)
#
select format(4.55, 1), format(4.551, 1);
explain extended select degrees(pi()),radians(360);
#