fix: typo when parse integer

This commit is contained in:
kailixu 2024-03-15 02:24:10 +08:00
parent 569d8e6d33
commit d416f4f4a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);