fix(tsdb): check return code.
This commit is contained in:
parent
9b70c0c457
commit
fd6344b319
|
@ -452,6 +452,9 @@ static int32_t doLoadBlockIndex(STsdbReader* pReader, SDataFileReader* pFileRead
|
||||||
const TBrinBlkArray* pBlkArray = NULL;
|
const TBrinBlkArray* pBlkArray = NULL;
|
||||||
|
|
||||||
int32_t code = tsdbDataFileReadBrinBlk(pFileReader, &pBlkArray);
|
int32_t code = tsdbDataFileReadBrinBlk(pFileReader, &pBlkArray);
|
||||||
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
LRUHandle* handle = NULL;
|
LRUHandle* handle = NULL;
|
||||||
|
|
Loading…
Reference in New Issue