diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2004-03-04 22:11:33 +0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2004-03-04 22:11:33 +0400 |
commit | bc9de3d4552f2294bad973d0b9fbe07de3d07c1d (patch) | |
tree | 67445f55fd444fbd02828dbf1feab44191c6014b /mysql-test/t/func_math.test | |
parent | 709325d176c4e737e5af6945654e3dd0c37feed5 (diff) | |
download | mariadb-git-bc9de3d4552f2294bad973d0b9fbe07de3d07c1d.tar.gz |
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"
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r-- | mysql-test/t/func_math.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test index 42ba8c73f69..c39c966547b 100644 --- a/mysql-test/t/func_math.test +++ b/mysql-test/t/func_math.test @@ -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)); |