From 1e1c0fbad3563e74bb29472b8a1fa21fb1eb9c31 Mon Sep 17 00:00:00 2001 From: yangming Date: Tue, 19 Apr 2022 15:10:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E5=BA=93=E5=88=86?= =?UTF-8?q?=E8=A1=A8=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=A0=81=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy/plan/plan_insert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/plan/plan_insert.go b/proxy/plan/plan_insert.go index 6bdfde90..98b6aa3f 100644 --- a/proxy/plan/plan_insert.go +++ b/proxy/plan/plan_insert.go @@ -336,7 +336,7 @@ func handleInsertGlobalSequenceValue(p *InsertPlan) error { func (s *InsertPlan) ExecuteIn(reqCtx *util.RequestContext, sess Executor) (*mysql.Result, error) { rs, err := sess.ExecuteSQLs(reqCtx, s.sqls) if err != nil { - return nil, fmt.Errorf("execute in InsertPlan error: %v", err) + return nil, err } r, err := MergeExecResult(rs)