fix: typo when parse integer
This commit is contained in:
parent
569d8e6d33
commit
d416f4f4a4
|
@ -89,7 +89,7 @@ static int32_t parseSignAndUInteger(const char *z, int32_t n, bool *is_neg, uint
|
|||
return TSDB_CODE_FAILED;
|
||||
}
|
||||
if (val > UINT64_MAX) {
|
||||
errno == ERANGE;
|
||||
errno = ERANGE;
|
||||
return TSDB_CODE_FAILED;
|
||||
}
|
||||
*value = round(val);
|
||||
|
|
Loading…
Reference in New Issue