fix: realloc uid list

This commit is contained in:
dapan1121 2023-02-25 16:10:48 +08:00
parent 10e35f1ed0
commit 50ee40308b
1 changed files with 1 additions and 0 deletions

View File

@ -3785,6 +3785,7 @@ int32_t tsdbSetTableList(STsdbReader* pReader, const void* pTableList, int32_t n
if (code) {
return code;
}
pReader->status.uidList.tableUidList = (uint64_t*)taosMemoryRealloc(pReader->status.uidList.tableUidList, sizeof(uint64_t) * num);
}
taosHashClear(pReader->status.pTableMap);