fix : misspelled word (#3075)

master
guoguangwu 2 years ago committed by GitHub
parent 9065eb90d9
commit ca4ce7bce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -159,7 +159,7 @@ func transactOnConn(ctx context.Context, conn *sql.DB, b beginnable,
if e := tx.Rollback(); e != nil { if e := tx.Rollback(); e != nil {
err = fmt.Errorf("recover from %#v, rollback failed: %w", p, e) err = fmt.Errorf("recover from %#v, rollback failed: %w", p, e)
} else { } else {
err = fmt.Errorf("recoveer from %#v", p) err = fmt.Errorf("recover from %#v", p)
} }
} else if err != nil { } else if err != nil {
if e := tx.Rollback(); e != nil { if e := tx.Rollback(); e != nil {

Loading…
Cancel
Save