This commit is contained in:
wpan 2021-08-17 14:07:04 +08:00
parent 2fde105908
commit a299c05c96
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,9 @@ void doCleanupSubqueries(SSqlObj *pSql, int32_t numOfSubs);
void tscFreeRetrieveSupporters(SSqlObj *pSql);
void tscFreeRetrieveSup(SSqlObj *pSql);
#ifdef __cplusplus
}

View File

@ -2562,7 +2562,7 @@ int32_t tscHandleMasterSTableQuery(SSqlObj *pSql) {
return TSDB_CODE_SUCCESS;
}
static void tscFreeRetrieveSup(SSqlObj *pSql) {
void tscFreeRetrieveSup(SSqlObj *pSql) {
SRetrieveSupport *trsupport = pSql->param;
void* p = atomic_val_compare_exchange_ptr(&pSql->param, trsupport, 0);