other: add some logs.

This commit is contained in:
Haojun Liao 2023-06-02 15:13:25 +08:00
parent cce87a036f
commit 76106165da
1 changed files with 2 additions and 0 deletions

View File

@ -2090,7 +2090,9 @@ FETCH_NEXT_BLOCK:
while (pAPI->tqReaderFn.tqNextBlockImpl(pInfo->tqReader, id)) {
SSDataBlock* pRes = NULL;
int32_t code = pAPI->tqReaderFn.tqRetrieveBlock(pInfo->tqReader, &pRes, id);
if (code != TSDB_CODE_SUCCESS || pRes->info.rows == 0) {
qDebug("failed to retrieve data from block, code:%s, rows:%"PRId64 " try next block in submit block", tstrerror(code), pRes->info.rows);
continue;
}