- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setStrictFakeConnClose (0.12 sec)
-
src/database/sql/fakedb_test.go
hookPostCloseConn.Lock() defer hookPostCloseConn.Unlock() hookPostCloseConn.fn = fn } var testStrictClose *testing.T // setStrictFakeConnClose sets the t to Errorf on when fakeConn.Close // fails to close. If nil, the check is disabled. func setStrictFakeConnClose(t *testing.T) { testStrictClose = t } func (c *fakeConn) ResetSession(ctx context.Context) error { c.dirtySession = false c.currTx = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0)