Skip to content

Commit

Permalink
Revert change to where 'database' config is taken from for connection.
Browse files Browse the repository at this point in the history
fixes #80
  • Loading branch information
pekim committed Mar 23, 2013
1 parent 3e51305 commit 9b7166b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class Connection extends EventEmitter
loginData =
userName: @config.userName
password: @config.password
database: @config.database
database: @config.options.database
packetSize: @config.options.packetSize
tdsVersion: @config.options.tdsVersion

Expand Down

0 comments on commit 9b7166b

Please sign in to comment.