refactor: do some internal refactor.
This commit is contained in:
parent
bcd8867fb2
commit
2edba85efe
|
@ -2092,8 +2092,8 @@ FETCH_NEXT_BLOCK:
|
||||||
SSDataBlock* pRes = NULL;
|
SSDataBlock* pRes = NULL;
|
||||||
|
|
||||||
int32_t code = pAPI->tqReaderFn.tqRetrieveBlock(pInfo->tqReader, &pRes, id);
|
int32_t code = pAPI->tqReaderFn.tqRetrieveBlock(pInfo->tqReader, &pRes, id);
|
||||||
qDebug("retrieve data from submit completed code:%s, rows:%" PRId64 " %s",
|
qDebug("retrieve data from submit completed code:%s, rows:%" PRId64 " %s", tstrerror(code), pRes->info.rows,
|
||||||
tstrerror(code), pRes->info.rows, id);
|
id);
|
||||||
|
|
||||||
if (code != TSDB_CODE_SUCCESS || pRes->info.rows == 0) {
|
if (code != TSDB_CODE_SUCCESS || pRes->info.rows == 0) {
|
||||||
qDebug("retrieve data failed, try next block in submit block, %s", id);
|
qDebug("retrieve data failed, try next block in submit block, %s", id);
|
||||||
|
|
Loading…
Reference in New Issue