!4193 修复CBM Writer线程执行异常时未关闭打开的hash table的问题

Merge pull request !4193 from april01xxx/master_cbm
This commit is contained in:
opengauss_bot
2024-11-23 07:02:24 +00:00
committed by Gitee

View File

@ -153,6 +153,7 @@ void CBMWriterMain(void)
t_thrd.utils_cxt.CurrentResourceOwner = cbmwriter_resourceOwner;
FreeAllAllocatedDescs();
AtEOXact_HashTables(false);
/*
* Now return to normal top-level context and clear ErrorContext for