Fixed a bug where pool.connect() would fail. #1

Merged
merged 1 commit into from Mar 21, 2011
@@ -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);
}