fix issue
This commit is contained in:
parent
b9d5df6761
commit
e43b3c330a
|
@ -2050,16 +2050,6 @@ void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs) {
|
|||
}
|
||||
}
|
||||
|
||||
void tscFreeRetrieveSupporters(SSqlObj *pSql) {
|
||||
for(int32_t i = 0; i < pSql->subState.numOfSub; ++i) {
|
||||
SSqlObj* pSub = pSql->pSubs[i];
|
||||
assert(pSub != NULL);
|
||||
|
||||
tscFreeRetrieveSup(pSub);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void tscLockByThread(int64_t *lockedBy) {
|
||||
int64_t tid = taosGetSelfPthreadId();
|
||||
int i = 0;
|
||||
|
@ -2586,6 +2576,18 @@ static void tscFreeRetrieveSup(SSqlObj *pSql) {
|
|||
tfree(trsupport);
|
||||
}
|
||||
|
||||
void tscFreeRetrieveSupporters(SSqlObj *pSql) {
|
||||
for(int32_t i = 0; i < pSql->subState.numOfSub; ++i) {
|
||||
SSqlObj* pSub = pSql->pSubs[i];
|
||||
assert(pSub != NULL);
|
||||
|
||||
tscFreeRetrieveSup(pSub);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static void tscRetrieveFromDnodeCallBack(void *param, TAOS_RES *tres, int numOfRows);
|
||||
static void tscHandleSubqueryError(SRetrieveSupport *trsupport, SSqlObj *pSql, int numOfRows);
|
||||
|
||||
|
|
Loading…
Reference in New Issue