fix(tsdb): check return code.

This commit is contained in:
Haojun Liao 2023-09-14 09:25:35 +08:00
parent 9b70c0c457
commit fd6344b319
1 changed files with 3 additions and 0 deletions

View File

@ -452,6 +452,9 @@ static int32_t doLoadBlockIndex(STsdbReader* pReader, SDataFileReader* pFileRead
const TBrinBlkArray* pBlkArray = NULL;
int32_t code = tsdbDataFileReadBrinBlk(pFileReader, &pBlkArray);
if (code != TSDB_CODE_SUCCESS) {
return code;
}
#if 0
LRUHandle* handle = NULL;