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

Commit 10ff63d2 by Mick Hansen

mysql query logging should use same setup as other dialects

1 parent 5d0f9be2
Showing with 1 additions and 3 deletions
...@@ -29,9 +29,7 @@ module.exports = (function() { ...@@ -29,9 +29,7 @@ module.exports = (function() {
var self = this; var self = this;
this.sql = sql; this.sql = sql;
if (this.options.logging !== false) { this.sequelize.log('Executing (' + (this.connection.uuid || 'default') + '): ' + this.sql, this.options);
this.sequelize.log('Executing (' + (this.connection.uuid || 'default') + '): ' + this.sql);
}
var promise = new Utils.Promise(function(resolve, reject) { var promise = new Utils.Promise(function(resolve, reject) {
// TRANSACTION SUPPORT // TRANSACTION SUPPORT
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!