提交 8353da66 编写于 作者: C Cary Xu

other: revert the code

上级 bdf24b6a
......@@ -233,17 +233,6 @@ int tsdbLoadBlockInfo(SReadH *pReadh, void *pTarget) {
tsdbError("vgId:%d, SBlockInfo part in file %s is corrupted since wrong checksum, offset:%u len :%u",
TSDB_READ_REPO_ID(pReadh), TSDB_FILE_FULL_NAME(pHeadf), pBlkIdx->offset, pBlkIdx->len);
return -1;
} else {
SBlockInfo *pBlkInfo = pReadh->pBlkInfo;
SBlock *pBlk = NULL;
int nBlks = (pBlkIdx->len - sizeof(SBlockInfo)) / sizeof(SBlock);
for (int n = 0; n < nBlks; ++n) {
pBlk = &pBlkInfo->blocks[n];
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);
}
}
}
// ASSERT(pBlkIdx->tid == pReadh->pBlkInfo->tid && pBlkIdx->uid == pReadh->pBlkInfo->uid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册