summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorSergey Glukhov <sergey.glukhov@oracle.com>2011-04-20 11:52:40 +0400
committerSergey Glukhov <sergey.glukhov@oracle.com>2011-04-20 11:52:40 +0400
commit876c17aa9466fd30ea4eaca205a8a1256a94c439 (patch)
tree2c56d1eb9a99a1a455bc6b22e1395f056769e3db /mysql-test/t/func_math.test
parent4f8f6401c93cfee0350bf47e656a1e2348cf2c2b (diff)
parent90bbf9d615a592c31464c1a689040a9758581fdd (diff)
downloadmariadb-git-876c17aa9466fd30ea4eaca205a8a1256a94c439.tar.gz
5.1 -> 5.5 merge
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r--mysql-test/t/func_math.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index 687d96f8804..0e704fecf57 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -354,6 +354,22 @@ DROP TABLE t1;
CREATE TABLE t1 SELECT FLOOR(LINESTRINGFROMWKB(1) DIV NULL);
DROP TABLE t1;
+--echo #
+--echo # Bug#11765923 58937: MANY VALGRIND ERRORS AFTER GROUPING BY RESULT OF DECIMAL COLUMN FUNCTION
+--echo #
+
+CREATE TABLE t1(f1 DECIMAL(22,1));
+INSERT INTO t1 VALUES (0),(1);
+SELECT ROUND(f1, f1) FROM t1;
+SELECT ROUND(f1, f1) FROM t1 GROUP BY 1;
+DROP TABLE t1;
+
+--echo #
+--echo # Bug#11764671 57533: UNINITIALISED VALUES IN COPY_AND_CONVERT (SQL_STRING.CC) WITH CERTAIN CHA
+--echo #
+
+SELECT ROUND(LEAST(15, -4939092, 0.2704), STDDEV('a'));
+
--echo End of 5.1 tests
--echo #