other: add logs when read blk info

This commit is contained in:
Cary Xu 2022-06-11 18:50:28 +08:00
parent 7930260fed
commit 9b8a7d11df
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ int tsdbLoadBlockInfo(SReadH *pReadh, void *pTarget) {
int nBlks = (pBlkIdx->len - sizeof(SBlockInfo)) / sizeof(SBlock);
for (int n = 0; n < nBlks; ++n) {
pBlk = &pBlkInfo->blocks[n];
if (pBlk->numOfSubBlocks == 1) {
if (pBlk->numOfSubBlocks >= 1) {
tsdbDebug("prop:vgId:%d, file %s , offset:%u len :%u has %d rows", TSDB_READ_REPO_ID(pReadh),
TSDB_FILE_FULL_NAME(pHeadf), pBlkIdx->offset, pBlkIdx->len, pBlk->numOfRows);
}