Add select for update stmt judgment to das can retry condition.
This commit is contained in:
@ -396,7 +396,8 @@ public:
|
|||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
ctx_.get_my_session()->is_user_session() &&
|
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:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user