fix: fix no stop error when interval fill order by desc

This commit is contained in:
shenglian zhou 2022-10-10 16:16:54 +08:00
parent 452f224727
commit 5ccc7aa98e
1 changed files with 1 additions and 4 deletions

View File

@ -562,9 +562,6 @@ int64_t getNumOfResultsAfterFillGap(SFillInfo* pFillInfo, TSKEY ekey, int32_t ma
int32_t numOfRows = taosNumOfRemainRows(pFillInfo);
TSKEY ekey1 = ekey;
if (!FILL_IS_ASC_FILL(pFillInfo)) {
pFillInfo->end = taosTimeTruncate(ekey, &pFillInfo->interval, pFillInfo->interval.precision);
}
int64_t numOfRes = -1;
if (numOfRows > 0) { // still fill gap within current data block, not generating data after the result set.