File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import (
5
5
"sync"
6
6
)
7
7
8
- // ErrBadConn should be returned by a driver to signal to the sql
9
- // package that a driver.Conn is in a bad state (such as the server
10
- // having earlier closed the connection) and the sql package should
11
- // retry on a new connection.
8
+ // ErrBadConn should be returned by a connection operation to signal to the
9
+ // pool that a driver.Conn is in a bad state (such as the server
10
+ // having earlier closed the connection) and the pool should retry on a
11
+ // new connection.
12
12
//
13
13
// To prevent duplicate operations, ErrBadConn should NOT be returned
14
14
// if there's a possibility that the database server might have
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ func (s *Session) SetMaxOpenConns(n int) {
145
145
s .pool .SetMaxOpenConns (n )
146
146
}
147
147
148
- // noreplyWait ensures that previous queries with the noreply flag have been
148
+ // NoReplyWait ensures that previous queries with the noreply flag have been
149
149
// processed by the server. Note that this guarantee only applies to queries
150
150
// run on the given connection
151
151
func (s * Session ) NoReplyWait () error {
You can’t perform that action at this time.
0 commit comments