修复使用节点未释放问题

This commit is contained in:
duzhuolin
2023-07-27 23:07:27 +08:00
parent d65e08d529
commit 0c32ca78ef

View File

@ -1556,6 +1556,7 @@ void DropDatanodeStatement(const char* stmt_name)
(void*)hash_search(u_sess->pcache_cxt.datanode_queries, entry->stmt_name, HASH_REMOVE, NULL);
if (!ENABLE_CN_GPC)
ExecCloseRemoteStatement(stmt_name, nodelist);
list_free_ext(nodelist);
}
}