Skip to content

Commit

Permalink
bugfix: release() method on correct member (pool -> connectionPool)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasen-atanasov committed Oct 29, 2014
1 parent 7b88ee9 commit 8f05fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pooled-connection.js
Expand Up @@ -17,7 +17,7 @@ function PooledConnection(connectionPool, config) {
PooledConnection.prototype = Object.create(Connection.prototype);

PooledConnection.prototype.release = function () {
this.pool.release(this);
this.connectionPool.release(this);
};

module.exports = PooledConnection;

0 comments on commit 8f05fac

Please sign in to comment.