summaryrefslogtreecommitdiff
path: root/strings/dtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/dtoa.c')
-rw-r--r--strings/dtoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/dtoa.c b/strings/dtoa.c
index c3ab347f94c..fdf7bceddfd 100644
--- a/strings/dtoa.c
+++ b/strings/dtoa.c
@@ -90,7 +90,7 @@ size_t my_fcvt(double x, int precision, char *to, my_bool *error)
int decpt, sign, len, i;
char *res, *src, *end, *dst= to;
char buf[DTOA_BUFF_SIZE];
- DBUG_ASSERT(precision >= 0 && precision < NOT_FIXED_DEC && to != NULL);
+ DBUG_ASSERT(precision >= 0 && precision < DECIMAL_NOT_SPECIFIED && to != NULL);
res= dtoa(x, 5, precision, &decpt, &sign, &end, buf, sizeof(buf));