mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
MDEV-10467 Assertion `nr >= 0.0' failed in Item_sum_std::val_real()
Backporting MDEV-5781 from 10.0.
This commit is contained in:
parent
35c9c85634
commit
ecb7ce7844
3 changed files with 27 additions and 0 deletions
|
|
@ -567,3 +567,15 @@ select 5.0 div 2.0;
|
|||
select 5.0 div 2;
|
||||
select 5 div 2.0;
|
||||
select 5.9 div 2, 1.23456789e3 DIV 2, 1.23456789e9 DIV 2, 1.23456789e19 DIV 2;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-10467 Assertion `nr >= 0.0' failed in Item_sum_std::val_real()
|
||||
--echo #
|
||||
CREATE TABLE t1 (i INT);
|
||||
INSERT INTO t1 VALUES (1),(2);
|
||||
SELECT STDDEV_SAMP(ROUND('0', 309)) FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo #
|
||||
--echo # End of 5.5 tests
|
||||
--echo #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue