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)