Merge pull request #398 from mkungla/qfe1

Removed ambitious conn.Close()
This commit is contained in:
mattn 2017-03-24 09:12:00 +09:00 committed by GitHub
commit b2e464529e
1 changed files with 0 additions and 1 deletions

View File

@ -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)}
}