diff options
author | unknown <kaa@polly.local> | 2007-05-28 15:33:22 +0400 |
---|---|---|
committer | unknown <kaa@polly.local> | 2007-05-28 15:33:22 +0400 |
commit | 088cb9ddc41b7dfb8d6ff3c92d949c326dcaabb1 (patch) | |
tree | 41b3d2be6f1791c5130fbb13683a7df7638076ed /include/m_string.h | |
parent | 8358a0c7c7915d0cc2913833e600f2e591deaab5 (diff) | |
download | mariadb-git-088cb9ddc41b7dfb8d6ff3c92d949c326dcaabb1.tar.gz |
Some Windows-related fixes to make Microsoft compilers happy. This is for bug #28128.
include/m_string.h:
Reduced the number of elements in log_10[] and log_01[] to not exceed DBL_MAX.
sql/field.cc:
Avoid the warning on Windows.
strings/strtod.c:
Reduced the number of elements in log_10[] and log_01[] to not exceed DBL_MAX.
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_string.h b/include/m_string.h index 773326e9b7d..f28cda529f5 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -106,8 +106,8 @@ extern char NEAR _dig_vec_upper[]; extern char NEAR _dig_vec_lower[]; /* Defined in strtod.c */ -extern const double log_10[310]; -extern const double log_01[310]; +extern const double log_10[309]; +extern const double log_01[309]; #ifdef BAD_STRING_COMPILER #define strmov(A,B) (memccpy(A,B,0,INT_MAX)-1) |