mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
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.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user