Fix filename with loc parameter

This commit is contained in:
Yasuhiro Matsumoto 2015-03-05 12:49:22 +09:00
parent f40baee643
commit d86face730
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
}
}
dsn = dsn[:pos-1]
dsn = dsn[:pos]
}
var db *C.sqlite3