提交 676333a3 编写于 作者: L lf0 提交者: LINGuanRen

Fix ps memory leak caused by deallocate prepare

上级 ead14a9b
......@@ -29,8 +29,8 @@ int ObDeallocateExecutor::execute(ObExecContext& ctx, ObDeallocateStmt& stmt)
} else {
if (OB_FAIL(ctx.get_my_session()->remove_prepare(stmt.get_prepare_name()))) {
LOG_WARN("failed to remove prepare", K(stmt.get_prepare_name()), K(ret));
} else if (OB_FAIL(ctx.get_my_session()->remove_ps_session_info(stmt.get_prepare_id()))) {
LOG_WARN("failed to remove prepare", K(stmt.get_prepare_id()), K(ret));
} else if (OB_FAIL(ctx.get_my_session()->close_ps_stmt(stmt.get_prepare_id()))) {
LOG_WARN("fail to deallocate ps stmt", K(ret), K(stmt.get_prepare_id()));
} else { /*do nothing*/
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册