Skip to content

Commit

Permalink
Fix calling ParseSimple instead of Parse
Browse files Browse the repository at this point in the history
Fixed SAP#237
  • Loading branch information
Nelo-T. Wallus committed Apr 21, 2023
1 parent 414598c commit 3798864
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ func (d Driver) OpenConnector(name string) (driver.Connector, error) {
return nil, err
}

if err := dsn.ParseSimple(name, info); err != nil {
// TODO
if err := dsn.Parse(name, info); err != nil {
return nil, err
}

if err := dsn.FromEnv("ASE", info); err != nil {
// TODO
return nil, err
}

Expand Down

0 comments on commit 3798864

Please sign in to comment.