summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-11-19 21:48:08 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-11-19 21:48:08 -0200
commitecb6228c623cc2b239bf297e107225eaa4455d19 (patch)
treed21225ac09b301f317ca89093128769a5ede9fbb /libmysql
parentaaf2e7a0037a529070e4721c615b87566a31f09e (diff)
parent9e27ce325013f706526c7b2240498baf4cae4735 (diff)
downloadmariadb-git-ecb6228c623cc2b239bf297e107225eaa4455d19.tar.gz
Manual merge of mysql-next-mr-runtime upstream.
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 477830a6ebd..820c64cf84b 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -3478,10 +3478,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
{
/*
DBL_DIG below is to ensure that the server and client has the same