Home | History | Annotate | Download | only in sql

Lines Matching defs:Open

310 	numOpen      int    // number of opened and pending open connections
381 // Track each driverConn's open statements, so we can close them
551 // Open opens a database specified by its database driver name and a
555 // Most users will open a database via a driver-specific connection
560 // Open may just validate its arguments without creating a connection
565 // and maintains its own pool of idle connections. Thus, the Open
568 func Open(driverName, dataSourceName string) (*DB, error) {
618 // Close closes the database, releasing any open resources.
699 // SetMaxOpenConns sets the maximum number of open connections to the database.
705 // If n <= 0, then there is no limit on the number of open connections.
800 // OpenConnections is the number of open connections to the database.
816 // then tell the connectionOpener to open new connections.
842 // Open one new connection
847 ci, err := db.driver.Open(db.dsn)
926 // allowed to open any more connections, make a request and wait.
965 ci, err := db.driver.Open(db.dsn)
1035 // as closed. Don't decrement the open count here, finalClose will