Merge pull request #24939 from taosdata/szhou/fix/td-28900

fix: no memory trim when no para tables scan
This commit is contained in:
dapan1121 2024-02-29 14:02:08 +08:00 committed by GitHub
commit 25872193b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -3763,8 +3763,9 @@ static int32_t stopSubTablesTableMergeScan(STableMergeScanInfo* pInfo) {
taosMemoryFree(pSubTblsInfo);
pInfo->pSubTablesMergeInfo = NULL;
taosMemoryTrim(0);
}
taosMemoryTrim(0);
return TSDB_CODE_SUCCESS;
}