fix(tsdb): check return code.
This commit is contained in:
parent
be09c173ab
commit
c6355fcc2f
|
@ -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