forked from mirror/go-sqlite3
Merge pull request #398 from mkungla/qfe1
Removed ambitious conn.Close()
This commit is contained in:
commit
b2e464529e
|
@ -609,7 +609,6 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
|
|||
|
||||
rv = C.sqlite3_busy_timeout(db, C.int(busyTimeout))
|
||||
if rv != C.SQLITE_OK {
|
||||
conn.Close()
|
||||
return nil, Error{Code: ErrNo(rv)}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue