diff --git a/proxy/plan/plan_delete.go b/proxy/plan/plan_delete.go index 17835808..1413e283 100644 --- a/proxy/plan/plan_delete.go +++ b/proxy/plan/plan_delete.go @@ -53,7 +53,7 @@ func (p *DeletePlan) ExecuteIn(reqCtx *util.RequestContext, sess Executor) (*mys rs, err := sess.ExecuteSQLs(reqCtx, sqls) if err != nil { - return nil, fmt.Errorf("execute in UpdatePlan error: %v", err) + return nil, err } r, err := MergeExecResult(rs) diff --git a/proxy/plan/plan_update.go b/proxy/plan/plan_update.go index 86ca3277..d5a2dbee 100644 --- a/proxy/plan/plan_update.go +++ b/proxy/plan/plan_update.go @@ -53,7 +53,7 @@ func (s *UpdatePlan) ExecuteIn(reqCtx *util.RequestContext, sess Executor) (*mys rs, err := sess.ExecuteSQLs(reqCtx, sqls) if err != nil { - return nil, fmt.Errorf("execute in UpdatePlan error: %v", err) + return nil, err } r, err := MergeExecResult(rs)