refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2022-06-06 23:39:54 +08:00
parent aba3ea28b5
commit 3e6bb05581
1 changed files with 5 additions and 1 deletions

View File

@ -500,7 +500,11 @@ int taos_fetch_block_s(TAOS_RES *res, int *numOfRows, TAOS_ROW *rows) {
return 0;
}
doFetchRows(pRequest, false, true);
#if SYNC_ON_TOP_OF_ASYNC
doAsyncFetchRow(pRequest, false, true);
#else
doFetchRows(pRequest, true, true);
#endif
// TODO refactor
SReqResultInfo *pResultInfo = &pRequest->body.resInfo;