summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index a1fb1d8a3c4..7d438612251 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -3794,10 +3794,7 @@ static void fetch_float_with_conversion(MYSQL_BIND *param, MYSQL_FIELD *field,
*/
char buff[MAX_DOUBLE_STRING_REP_LENGTH];
char *end;
- /* TODO: move this to a header shared between client and server. */
-#define NOT_FIXED_DEC 31
if (field->decimals >= NOT_FIXED_DEC)
-#undef NOT_FIXED_DEC
{
/*
The 14 below is to ensure that the server and client has the same