Skip to content

Commit

Permalink
Merge pull request XiaoMi#213 from XiaoMi/dev
Browse files Browse the repository at this point in the history
修复分库分表情况下,状态码错误问题
  • Loading branch information
xiyangxixian authored Apr 19, 2022
2 parents 22a72b9 + 1e1c0fb commit 27bb343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/plan/plan_insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 27bb343

Please sign in to comment.