summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-03-04 22:11:33 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-03-04 22:11:33 +0400
commitbc9de3d4552f2294bad973d0b9fbe07de3d07c1d (patch)
tree67445f55fd444fbd02828dbf1feab44191c6014b /mysql-test/t/func_math.test
parent709325d176c4e737e5af6945654e3dd0c37feed5 (diff)
downloadmariadb-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.test8
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));