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

Commit ae3e8c3b by Mick Hansen

Merge pull request #2820 from crwhite21/hotfix/fix-mssql-dialect-options

Fix where dialectOptions are placed in the config object
2 parents ab17c0fb 3797baee
Showing with 1 additions and 1 deletions
...@@ -35,7 +35,7 @@ ConnectionManager.prototype.connect = function(config) { ...@@ -35,7 +35,7 @@ ConnectionManager.prototype.connect = function(config) {
if (config.dialectOptions) { if (config.dialectOptions) {
Object.keys(config.dialectOptions).forEach(function(key) { Object.keys(config.dialectOptions).forEach(function(key) {
connectionConfig[key] = config.dialectOptions[key]; connectionConfig.options[key] = config.dialectOptions[key];
}); });
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!