forked from mirror/go-sqlcipher
Removed ambitious conn.Close()
This commit is contained in:
parent
fc03fa9989
commit
a1253acb6b
|
@ -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