Add select for update stmt judgment to das can retry condition.

This commit is contained in:
obdev
2023-07-20 08:42:17 +00:00
committed by ob-robot
parent dacbb75c13
commit 4f66794518

View File

@ -396,7 +396,8 @@ public:
{
return (
ctx_.get_my_session()->is_user_session() &&
! ObStmt::is_dml_write_stmt(ctx_.get_physical_plan_ctx()->get_phy_plan()->get_stmt_type())
(! ObStmt::is_dml_write_stmt(ctx_.get_physical_plan_ctx()->get_phy_plan()->get_stmt_type()) )&&
(! ctx_.get_physical_plan_ctx()->get_phy_plan()->has_for_update() )
);
}
protected: