fix bug
This commit is contained in:
parent
a299c05c96
commit
8902812399
|
@ -2744,6 +2744,7 @@ void tscHandleSubqueryError(SRetrieveSupport *trsupport, SSqlObj *pSql, int numO
|
|||
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
|
||||
|
||||
tscFreeRetrieveSup(pParentSql);
|
||||
tscFreeRetrieveSup(userSql);
|
||||
|
||||
tscFreeSubobj(userSql);
|
||||
tfree(userSql->pSubs);
|
||||
|
|
|
@ -3768,6 +3768,7 @@ static void tscSubqueryCompleteCallback(void* param, TAOS_RES* tres, int code) {
|
|||
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
|
||||
|
||||
tscFreeRetrieveSup(pParentSql);
|
||||
tscFreeRetrieveSup(userSql);
|
||||
|
||||
tscFreeSubobj(userSql);
|
||||
tfree(userSql->pSubs);
|
||||
|
|
Loading…
Reference in New Issue