Skip to content

Commit

Permalink
Merge branch 'master' into placement_db_ddl
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Oct 9, 2021
2 parents 37d68f4 + 07eb99d commit 1755a7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,10 @@ func (s *session) retry(ctx context.Context, maxCnt uint) (err error) {
zap.Uint("retryCnt", retryCnt),
zap.Int("queryNum", i))
}
_, digest := s.sessionVars.StmtCtx.SQLDigest()
s.txn.onStmtStart(digest.String())
_, err = st.Exec(ctx)
s.txn.onStmtEnd()
if err != nil {
s.StmtRollback()
break
Expand Down

0 comments on commit 1755a7c

Please sign in to comment.