Commit 546607ce authored by gwenn's avatar gwenn

Adds support to URI in driver.Open.

parent be5aef64
...@@ -46,7 +46,7 @@ type rowsImpl struct { ...@@ -46,7 +46,7 @@ type rowsImpl struct {
// ":memory:" for memory db, // ":memory:" for memory db,
// "" for temp file db // "" for temp file db
func (d *Driver) Open(name string) (driver.Conn, error) { func (d *Driver) Open(name string) (driver.Conn, error) {
c, err := Open(name, OpenNoMutex, OpenReadWrite, OpenCreate) c, err := Open(name, OpenUri, OpenNoMutex, OpenReadWrite, OpenCreate)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment