[td-225] fix bugs found by tsim

This commit is contained in:
Haojun Liao 2020-10-14 13:02:23 +08:00
parent 0066dc9ac0
commit 2a9855bbaf
1 changed files with 2 additions and 2 deletions

View File

@ -258,11 +258,11 @@ static int32_t tscLaunchRealSubqueries(SSqlObj* pSql) {
assert(numOfSub > 0);
// scan all subquery, if one sub query has only ts, ignore it
tscDebug("%p start to launch secondary subqueries, total:%d, only:%d needs to query", pSql, pSql->subState.numOfSub, numOfSub);
tscDebug("%p start to launch secondary subqueries, %d out of %d needs to query", pSql, numOfSub, pSql->subState.numOfSub);
//the subqueries that do not actually launch the secondary query to virtual node is set as completed.
SSubqueryState* pState = &pSql->subState;
pState->numOfRemain = pState->numOfSub;
pState->numOfRemain = numOfSub;
bool success = true;