fix: coverity issues

CID: 399845
This commit is contained in:
Ganlin Zhao 2022-10-24 14:16:17 +08:00
parent cd0a051157
commit 23b7150dee
1 changed files with 1 additions and 1 deletions

View File

@ -1420,7 +1420,7 @@ int32_t timeDiffFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *p
} else if (tsDigits == TSDB_TIME_PRECISION_MICRO_DIGITS) {
timeVal[k] = timeVal[k] * 1000;
} else if (tsDigits == TSDB_TIME_PRECISION_NANO_DIGITS) {
timeVal[k] = timeVal[k];
timeVal[k] = timeVal[k] * 1;
} else {
hasNull = true;
break;