fix bug
This commit is contained in:
parent
2fde105908
commit
a299c05c96
|
@ -54,6 +54,9 @@ void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs);
|
||||||
|
|
||||||
void tscFreeRetrieveSupporters(SSqlObj *pSql);
|
void tscFreeRetrieveSupporters(SSqlObj *pSql);
|
||||||
|
|
||||||
|
void tscFreeRetrieveSup(SSqlObj *pSql);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -2562,7 +2562,7 @@ int32_t tscHandleMasterSTableQuery(SSqlObj *pSql) {
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void tscFreeRetrieveSup(SSqlObj *pSql) {
|
void tscFreeRetrieveSup(SSqlObj *pSql) {
|
||||||
SRetrieveSupport *trsupport = pSql->param;
|
SRetrieveSupport *trsupport = pSql->param;
|
||||||
|
|
||||||
void* p = atomic_val_compare_exchange_ptr(&pSql->param, trsupport, 0);
|
void* p = atomic_val_compare_exchange_ptr(&pSql->param, trsupport, 0);
|
||||||
|
|
Loading…
Reference in New Issue