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 | 73fd7b446f76e728780632abec3e6719a14b96f4 (patch) | |
tree | 8d62b783d18499a58998dcedd618f5eb2b66ee66 /sql/item_geofunc.cc | |
parent | cdf0a459f4cd8fb07a4aae09e43ab9273eb56872 (diff) | |
download | mariadb-git-73fd7b446f76e728780632abec3e6719a14b96f4.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 'sql/item_geofunc.cc')
0 files changed, 0 insertions, 0 deletions