Skip to content

Commit

Permalink
Merge pull request #1343 from wubzz/bugfix/pool.ping_for_mssql
Browse files Browse the repository at this point in the history
Fix MSSQL ping function, calling resource.request().query instead of …
  • Loading branch information
wubzz committed Apr 13, 2016
2 parents 1f09df8 + 14eca7a commit 85403e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialects/mssql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ assign(Client_MSSQL.prototype, {
},

ping: function(resource, callback) {
resource.query('SELECT 1', callback);
resource.request().query('SELECT 1', callback);
}

})
Expand Down

0 comments on commit 85403e8

Please sign in to comment.