Skip to content

Commit e1fc958

Browse files
committed
Merge pull request mysqljs#613 from rwky/master
Fixed mysqljs#588 missing variable declaration
2 parents 14b93f7 + e5a980c commit e1fc958

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/PoolCluster.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ PoolCluster.prototype.add = function(id, config) {
6464
};
6565

6666
PoolCluster.prototype.getConnection = function(pattern, selector, cb) {
67+
var namespace;
6768
if (typeof pattern === 'function') {
6869
cb = pattern;
6970
namespace = this.of();

0 commit comments

Comments
 (0)