This commit is contained in:
slguan 2019-09-10 09:49:27 +08:00
parent 3d23511e93
commit e10f706c28
1 changed files with 4 additions and 1 deletions

View File

@ -265,7 +265,10 @@ void *tscProcessMsgFromServer(char *msg, void *ahandle, void *thandle) {
if (msg == NULL) {
tscTrace("%p no response from ip:0x%x", pSql, pSql->ip);
pSql->index++;
// for single node situation, do NOT try next index
assert(pSql->index == 0);
pSql->thandle = NULL;
// todo taos_stop_query() in async model