不要怂,就是干,撸起袖子干!

Commit 411c1295 by Mick Hansen

Merge pull request #2650 from Tradesparq/fix-replication

fix replication always use write host
2 parents 0655153e 411a7f52
Showing with 1 additions and 1 deletions
......@@ -603,7 +603,7 @@ module.exports = (function() {
});
return Promise.resolve(
options.transaction ? options.transaction.connection : self.connectionManager.getConnection()
options.transaction ? options.transaction.connection : self.connectionManager.getConnection(options)
).then(function (connection) {
var query = new self.dialect.Query(connection, self, callee, options);
return query.run(sql).finally(function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!