[td-2859] fix bug found by regress test.

This commit is contained in:
Haojun Liao 2021-04-19 11:40:50 +08:00
parent e5d17c95fa
commit 33f503474b
1 changed files with 1 additions and 1 deletions

View File

@ -2229,7 +2229,7 @@ void tscFirstRoundRetrieveCallback(void* param, TAOS_RES* tres, int numOfRows) {
} }
} }
if (!pRes->completed) { if (!pRes->completed && numOfRows > 0) {
taos_fetch_rows_a(tres, tscFirstRoundRetrieveCallback, param); taos_fetch_rows_a(tres, tscFirstRoundRetrieveCallback, param);
return; return;
} }