!915 问题修复

Merge pull request !915 from ShineStarStar/syn2
This commit is contained in:
opengauss-bot
2021-04-21 21:05:45 +08:00
committed by Gitee
8 changed files with 28 additions and 20 deletions

View File

@ -4849,14 +4849,6 @@ static void exec_execute_message(const char* portal_name, long max_rows)
u_sess->xact_cxt.pbe_execute_complete = false;
}
#ifndef ENABLE_MULTIPLE_NODES
if (u_sess->xact_cxt.pbe_execute_complete == true) {
/* Set sync point for waiting all stream threads complete. */
StreamNodeGroup::syncQuit(STREAM_COMPLETE);
UnRegisterStreamSnapshots();
}
#endif
if (ENABLE_WORKLOAD_CONTROL) {
if (g_instance.wlm_cxt->dynamic_workload_inited) {
if (t_thrd.wlm_cxt.parctl_state.simple == 0)