[td-1373]

This commit is contained in:
Haojun Liao 2020-10-23 13:59:30 +08:00
parent b6d292da99
commit 503c7321fd
1 changed files with 1 additions and 0 deletions

View File

@ -923,6 +923,7 @@ static void joinRetrieveFinalResCallback(void* param, TAOS_RES* tres, int numOfR
numOfVgroups = pTableMetaInfo->vgroupList->numOfVgroups; numOfVgroups = pTableMetaInfo->vgroupList->numOfVgroups;
} }
tscDebug("%p no result in current vnode anymore, try next vnode", pSql);
if ((++pTableMetaInfo->vgroupIndex) < numOfVgroups) { if ((++pTableMetaInfo->vgroupIndex) < numOfVgroups) {
pSql->cmd.command = TSDB_SQL_SELECT; pSql->cmd.command = TSDB_SQL_SELECT;
pSql->fp = tscJoinQueryCallback; pSql->fp = tscJoinQueryCallback;