- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for resetSession (0.1 sec)
-
src/database/sql/fakedb_test.go
// bad connection tests; see isBad() bad bool stickyBad bool skipDirtySession bool // tests that use Conn should set this to true. // dirtySession tests ResetSession, true if a query has executed // until ResetSession is called. dirtySession bool // The waiter is called before each query. May be used in place of the "WAIT" // directive. waiter func(context.Context) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
src/database/sql/sql.go
} // resetSession checks if the driver connection needs the // session to be reset and if required, resets it. func (dc *driverConn) resetSession(ctx context.Context) error { dc.Lock() defer dc.Unlock() if !dc.needReset { return nil } if cr, ok := dc.ci.(driver.SessionResetter); ok { return cr.ResetSession(ctx) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0)