fix: set nextIndex when get neighbouring index
This commit is contained in:
parent
3a336bbb2c
commit
1cb1451e41
|
@ -1121,6 +1121,8 @@ static bool getNeighborBlockOfSameTable(SFileDataBlockInfo* pBlockInfo, STableBl
|
||||||
SBrinRecord* p = taosArrayGet(pTableBlockScanInfo->pBlockList, pBlockInfo->tbBlockIdx + step);
|
SBrinRecord* p = taosArrayGet(pTableBlockScanInfo->pBlockList, pBlockInfo->tbBlockIdx + step);
|
||||||
memcpy(pRecord, p, sizeof(SBrinRecord));
|
memcpy(pRecord, p, sizeof(SBrinRecord));
|
||||||
|
|
||||||
|
*nextIndex = pBlockInfo->tbBlockIdx + step;
|
||||||
|
|
||||||
// tMapDataGetItemByIdx(&pTableBlockScanInfo->mapData, pIndex->ordinalIndex, pBlock, tGetDataBlk);
|
// tMapDataGetItemByIdx(&pTableBlockScanInfo->mapData, pIndex->ordinalIndex, pBlock, tGetDataBlk);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue