Fix filename with loc parameter
This commit is contained in:
@@ -286,7 +286,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
|
||||
}
|
||||
}
|
||||
|
||||
dsn = dsn[:pos-1]
|
||||
dsn = dsn[:pos]
|
||||
}
|
||||
|
||||
var db *C.sqlite3
|
||||
|
||||
Reference in New Issue
Block a user