Home | History | Annotate | Download | only in sql

Lines Matching defs:resetSession

424 // resetSession resets the connection session and sets the lastErr
427 // resetSession assumes that the embedded mutex is locked when the connection
429 func (dc *driverConn) resetSession(ctx context.Context) {
434 dc.lastErr = dc.ci.(driver.SessionResetter).ResetSession(ctx)
956 dc.resetSession(ctx)
1152 func (db *DB) putConn(dc *driverConn, err error, resetSession bool) {
1186 resetSession = false
1188 if resetSession {
1189 if _, resetSession = dc.ci.(driver.SessionResetter); resetSession {
1201 if resetSession {
1207 if !resetSession {