summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-11-26 14:51:48 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-11-26 14:51:48 +0200
commitdb8bd7beb83e513870b16ea95381018a48a4079d (patch)
treec48ad0e6cae3c6805e0e56810c191edf4210919f /mysql-test/t/func_math.test
parent01e0be66ddb4e404ab7ae1e218996d57655635ed (diff)
parentb7e69aef10867289cfd09f3fa8ed41c296ca8647 (diff)
downloadmariadb-git-db8bd7beb83e513870b16ea95381018a48a4079d.tar.gz
merge
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r--mysql-test/t/func_math.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index 91fdce8addb..b0c92c9d6ab 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -308,5 +308,11 @@ SELECT RAND(i) FROM t1;
DROP TABLE t1;
--echo #
+--echo # Bug#57477 SIGFPE when dividing a huge number a negative number
+--echo #
+SELECT -9999999999999999991 DIV -1;
+SELECT -9223372036854775808 DIV -1;
+SELECT -9223372036854775808 MOD -1;
+SELECT -9223372036854775808999 MOD -1;
--echo End of 5.1 tests