summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_math.result
diff options
context:
space:
mode:
authorSergey Glukhov <sergey.glukhov@oracle.com>2011-05-26 14:09:25 +0400
committerSergey Glukhov <sergey.glukhov@oracle.com>2011-05-26 14:09:25 +0400
commitf52ff493e83a75c3b22c6cd6ef2d2552ce99a645 (patch)
treeca30427efcd036da385b9a8da3d1754596eb1cc6 /mysql-test/r/func_math.result
parentedcb3b083a3d100fbc4e0668b098f2e5e552270b (diff)
parentaa0c8235a4fed513982cf3f576184404cf357826 (diff)
downloadmariadb-git-f52ff493e83a75c3b22c6cd6ef2d2552ce99a645.tar.gz
5.1 -> 5.5 merge
Diffstat (limited to 'mysql-test/r/func_math.result')
-rw-r--r--mysql-test/r/func_math.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/func_math.result b/mysql-test/r/func_math.result
index ac24ef4dea9..c93e33f98b9 100644
--- a/mysql-test/r/func_math.result
+++ b/mysql-test/r/func_math.result
@@ -543,6 +543,12 @@ ROUND(LEAST(15, -4939092, 0.2704), STDDEV('a'))
-4939092.0000
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'a'
+#
+# Bug#12392636 ASSERTION FAILED: SCALE >= 0 && PRECISION > 0 && SCALE <= PRECISION
+#
+SELECT SUM(DISTINCT (TRUNCATE((.1), NULL)));
+SUM(DISTINCT (TRUNCATE((.1), NULL)))
+NULL
End of 5.1 tests
#
# Bug #8433: Overflow must be an error