Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placeholder event handlers to suppress crash in final #80

Merged
merged 2 commits into from Mar 7, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/connection.coffee
Expand Up @@ -140,6 +140,10 @@ class Connection extends EventEmitter
# Do nothing. The connection was probably closed by the client code.
connectTimeout: ->
# Do nothing, as the timer should be cleaned up.
message: ->
# Do nothing
socketError: ->
# Do nothing

constructor: (@config) ->
@defaultConfig()
Expand Down Expand Up @@ -369,7 +373,7 @@ class Connection extends EventEmitter
loginData =
userName: @config.userName
password: @config.password
database: @config.options.database
database: @config.database
packetSize: @config.options.packetSize
tdsVersion: @config.options.tdsVersion

Expand Down