good morning!!!!

Skip to content
Snippets Groups Projects
Commit 33675c1e authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

PostgreSQL: Fixing failing test.

parent 345c585f
No related branches found
No related tags found
No related merge requests found
......@@ -285,17 +285,19 @@ func (d *database) Collections() (collections []string, err error) {
}
// Use changes the active database.
func (d *database) Use(database string) (err error) {
func (d *database) Use(name string) (err error) {
var conn ConnectionURL
if conn, err = ParseURL(d.connURL.String()); err != nil {
return err
}
conn.Database = database
conn.Database = name
d.connURL = conn
d.schema = nil
return d.Open()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment