mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fixed Bug #3051 "FLOOR returns invalid"
mysql-test/r/func_math.result: added test for Bug #3051 "FLOOR returns invalid" mysql-test/t/func_math.test: added test for Bug #3051 "FLOOR returns invalid"
This commit is contained in:
@ -32,3 +32,9 @@ ASIN(0.8+0.2)
|
||||
1.570796
|
||||
ASIN(1.2-0.2)
|
||||
1.570796
|
||||
floor(log(4)/log(2))
|
||||
2
|
||||
floor(log(8)/log(2))
|
||||
3
|
||||
floor(log(16)/log(2))
|
||||
4
|
||||
|
@ -24,3 +24,11 @@ SELECT ACOS(0.2*5.0);
|
||||
SELECT ACOS(0.5*2.0);
|
||||
SELECT ASIN(0.8+0.2);
|
||||
SELECT ASIN(1.2-0.2);
|
||||
|
||||
#
|
||||
# Bug #3051 FLOOR returns invalid
|
||||
#
|
||||
|
||||
select floor(log(4)/log(2));
|
||||
select floor(log(8)/log(2));
|
||||
select floor(log(16)/log(2));
|
||||
|
Reference in New Issue
Block a user