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

Commit 411a7f52 by fhc023

fix replication always use write host

1 parent 0655153e
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!