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

@ -120,6 +120,9 @@ ASIN(0.8+0.2)
SELECT ASIN(1.2-0.2);
ASIN(1.2-0.2)
1.5707963267949
select format(4.55, 1), format(4.551, 1);
format(4.55, 1) format(4.551, 1)
4.6 4.6
explain extended select degrees(pi()),radians(360);
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used