[td-2859] fix bug found by regress test.
This commit is contained in:
parent
e5d17c95fa
commit
33f503474b
|
@ -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);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue