Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noteUnusedDriverStatement (0.16 sec)

  1. src/database/sql/sql.go

    	return dc, nil
    }
    
    // putConnHook is a hook for testing.
    var putConnHook func(*DB, *driverConn)
    
    // noteUnusedDriverStatement notes that ds is no longer used and should
    // be closed whenever possible (when c is next not in use), unless c is
    // already closed.
    func (db *DB) noteUnusedDriverStatement(c *driverConn, ds *driverStmt) {
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	if c.inUse {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top