refactor: do some internal refactor.
This commit is contained in:
parent
9703ab510b
commit
fac516a196
|
@ -635,8 +635,8 @@ static int32_t doLoadFileBlock(STsdbReader* pReader, SArray* pIndexList, SBlockN
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
void* p = taosArrayPush(pScanInfo->pBlockList,
|
SBlockIndex bIndex = {.ordinalIndex = j, .inFileoffset = block.aSubBlock->offset};
|
||||||
&(SBlockIndex){.ordinalIndex = j, .inFileoffset = block.aSubBlock->offset});
|
void* p = taosArrayPush(pScanInfo->pBlockList, &bIndex);
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
tMapDataClear(&pScanInfo->mapData);
|
tMapDataClear(&pScanInfo->mapData);
|
||||||
return TSDB_CODE_OUT_OF_MEMORY;
|
return TSDB_CODE_OUT_OF_MEMORY;
|
||||||
|
|
Loading…
Reference in New Issue