fix bug
This commit is contained in:
parent
0a969d042c
commit
af641899eb
|
@ -3787,6 +3787,7 @@ static void tscSubqueryCompleteCallback(void* param, TAOS_RES* tres, int code) {
|
||||||
SQueryInfo *pQueryInfo = tscGetQueryInfo(&userSql->cmd);
|
SQueryInfo *pQueryInfo = tscGetQueryInfo(&userSql->cmd);
|
||||||
|
|
||||||
doCleanupSubqueries(userSql, userSql->subState.numOfSub);
|
doCleanupSubqueries(userSql, userSql->subState.numOfSub);
|
||||||
|
userSql->subState.numOfSub = 0;
|
||||||
|
|
||||||
executeQuery(userSql, pQueryInfo);
|
executeQuery(userSql, pQueryInfo);
|
||||||
return;
|
return;
|
||||||
|
@ -4934,4 +4935,3 @@ void tscRemoveTableMetaBuf(STableMetaInfo* pTableMetaInfo, uint64_t id) {
|
||||||
taosHashRemove(tscTableMetaMap, fname, len);
|
taosHashRemove(tscTableMetaMap, fname, len);
|
||||||
tscDebug("0x%"PRIx64" remove table meta %s, numOfRemain:%d", id, fname, (int32_t) taosHashGetSize(tscTableMetaMap));
|
tscDebug("0x%"PRIx64" remove table meta %s, numOfRemain:%d", id, fname, (int32_t) taosHashGetSize(tscTableMetaMap));
|
||||||
}
|
}
|
||||||
|