forked from mirror/go-sqlcipher
Fix filename with loc parameter
This commit is contained in:
parent
f40baee643
commit
d86face730
|
@ -286,7 +286,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
|
|||
}
|
||||
}
|
||||
|
||||
dsn = dsn[:pos-1]
|
||||
dsn = dsn[:pos]
|
||||
}
|
||||
|
||||
var db *C.sqlite3
|
||||
|
|
Loading…
Reference in New Issue