Skip to content
Browse files

Fixing a bug where pool.connect() would fail.

  • Loading branch information...
1 parent cd8d2b8 commit 878aaec89a74374cdc4ad5468699ba9f59041f9e Michael Lai committed Mar 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mysql-pool/pool.js
View
2 lib/mysql-pool/pool.js
@@ -188,7 +188,7 @@ MySQLPool.prototype._populate = function _populate() {
};
}
- for(key in this.Client.prototype) {
+ for(var key in this.Client.prototype) {
if(!key.match(/^[_A-Z]/) && !(key in this) && !(key in EventEmitter.prototype)) {
this[key] = mkPrototypeMethod(this.Client.prototype[key], key);
}

0 comments on commit 878aaec

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