Merge pull request #23872 from freemine/freemine.empty-set-check
bugFix: stop complaining with when there's no resultset after taos_q…
This commit is contained in:
commit
c45f25d1c7
|
@ -1308,6 +1308,10 @@ void taos_fetch_rows_a(TAOS_RES *res, __taos_async_fn_t fp, void *param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SRequestObj *pRequest = res;
|
SRequestObj *pRequest = res;
|
||||||
|
if (TSDB_SQL_RETRIEVE_EMPTY_RESULT == pRequest->type) {
|
||||||
|
fp(param, res, 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
taosAsyncFetchImpl(pRequest, fp, param);
|
taosAsyncFetchImpl(pRequest, fp, param);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue