diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-08-08 18:37:02 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-08-08 18:37:02 +0400 |
commit | 5269d378dfd576ecd03c82b3e763a98c83235636 (patch) | |
tree | 0cf1b6099235503870553c08ca0b6696566e9392 /mysql-test/t/func_group.test | |
parent | 1b3430a5ae6b2f6d5c251f1ff07f5c273b1dc175 (diff) | |
download | mariadb-git-5269d378dfd576ecd03c82b3e763a98c83235636.tar.gz |
MDEV-10468 Assertion `nr >= 0.0' failed in Item_sum_std::val_real()
Diffstat (limited to 'mysql-test/t/func_group.test')
-rw-r--r-- | mysql-test/t/func_group.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test index 5824d99afa5..7013009fae7 100644 --- a/mysql-test/t/func_group.test +++ b/mysql-test/t/func_group.test @@ -1590,3 +1590,9 @@ SELECT SUM(data3) AS C_3 FROM t1; DROP TABLE t1; + +--echo # +--echo # MDEV-10468 Assertion `nr >= 0.0' failed in Item_sum_std::val_real() +--echo # +SELECT STDDEV_POP(f) FROM (SELECT "1e+309" AS f UNION SELECT "-1e+309" AS f) tbl; +SELECT STDDEV(f) FROM (SELECT 1.7976931348623157e+308 AS f UNION SELECT -1.7976931348623157e+308 AS f) tbl; |