Skip to content
Browse files

Revert change to where 'database' config is taken from for connection.

fixes #80
  • Loading branch information...
1 parent 3e51305 commit 9b7166bca33c9d12c6e93be38fa3aa748cba288f @pekim committed Mar 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/connection.coffee
View
2 src/connection.coffee
@@ -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

0 comments on commit 9b7166b

Please sign in to comment.
Something went wrong with that request. Please try again.