fix formatting
This commit is contained in:
parent
57d2a89c3e
commit
202cfc7c5b
@ -35,7 +35,7 @@ func makeSqlite3Database(url_ *url.URL) (Database, error) {
|
|||||||
// sqlite3 driver, and that escaping is applied to the URL on this side. See issue #240.
|
// sqlite3 driver, and that escaping is applied to the URL on this side. See issue #240.
|
||||||
url_.Scheme = "file"
|
url_.Scheme = "file"
|
||||||
// To ensure that // isn't injected into the URI. The query is still handled.
|
// To ensure that // isn't injected into the URI. The query is still handled.
|
||||||
url_.Opaque=url_.Path
|
url_.Opaque = url_.Path
|
||||||
db.conn, err = sql.Open("sqlite3", url_.String())
|
db.conn, err = sql.Open("sqlite3", url_.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "sql.Open")
|
return nil, errors.Wrap(err, "sql.Open")
|
||||||
|
Loading…
Reference in New Issue
Block a user