fix(query): fix macro definition error.

This commit is contained in:
Haojun Liao 2022-08-30 09:58:30 +08:00
parent 57655a68ca
commit fdea9db9d3
1 changed files with 1 additions and 1 deletions

View File

@ -2477,7 +2477,7 @@ static int32_t doBuildDataBlock(STsdbReader* pReader) {
// note: the lastblock may be null here
initLastBlockReader(pLastBlockReader, pScanInfo->uid, &pScanInfo->indexInBlockL);
if (pScanInfo->indexInBlockL == DEFAULT_ROW_INDEX_VAL ||
if (pScanInfo->indexInBlockL == INITIAL_ROW_INDEX_VAL ||
pScanInfo->indexInBlockL == pLastBlockReader->lastBlockData.nRow) {
bool hasData = nextRowInLastBlock(pLastBlockReader, pScanInfo);
}