diff options
author | unknown <serg@serg.mylan> | 2004-03-14 17:25:20 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-03-14 17:25:20 +0100 |
commit | 22657f672c8d4c005f85cd3efc714d98b635f3f0 (patch) | |
tree | 8d62b783d18499a58998dcedd618f5eb2b66ee66 /mysql-test/r/mysqldump.result | |
parent | ad73b5ac5b5b71fc5370d19a971c260fc0bd42c1 (diff) | |
download | mariadb-git-22657f672c8d4c005f85cd3efc714d98b635f3f0.tar.gz |
my_strtod fixes:
sigsegv protection (exp overflow)
don't return inf!
use errno=EOVERFLOW to signal an overflow (as my_strntod uses errno anyway)
if errno will be too slow, my_strtod can be changed to return overflow status in a parameter (like my_strntod does)
include/m_string.h:
EOVERFLOW
mysql-test/r/insert.result:
updated
mysql-test/r/mysqldump.result:
updated
strings/strtod.c:
sigsegv protection (exp overflow)
don't return inf!
use errno=EOVERFLOW to signal an overflow (as my_strntod uses errno anyway)
if errno will be too slow, it my_strtod can be changed to return overflow status in a parameter (like my_strntod does)
Diffstat (limited to 'mysql-test/r/mysqldump.result')
-rw-r--r-- | mysql-test/r/mysqldump.result | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result index 721b473cb0f..b0a15d9a021 100644 --- a/mysql-test/r/mysqldump.result +++ b/mysql-test/r/mysqldump.result @@ -46,8 +46,6 @@ UNLOCK TABLES; DROP TABLE t1; CREATE TABLE t1 (a double); INSERT INTO t1 VALUES (-9e999999); -Warnings: -Warning 1264 Data truncated, out of range for column 'a' at row 1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT, CHARACTER_SET_CLIENT=utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |