Skip to content

Commit abed142

Browse files
committed
domains for changeUser
1 parent c443aa7 commit abed142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Connection.prototype.changeUser = function(options, cb){
103103
database : options.database || this.config.database,
104104
charsetNumber : charsetNumber,
105105
currentConfig : this.config
106-
}, cb);
106+
}, bindToCurrentDomain(cb));
107107
};
108108

109109
Connection.prototype.beginTransaction = function(cb) {

0 commit comments

Comments
 (0)