[MSSQL] Fix connection manager domain usage
API for the Tedious driver requires that an entry for `domain`, if present, be at the root level of the config option passed to the constructor. This was added in commit 91fc76be. However, that commit deleted dialectOptions.domain from the config object passed into the Sequelize constructor. Since most config objects are singletons, this mutation of the config object breaks any subsequent calls to the instance connectionManager.$connect. This commit simply removes the call to delete the domain entry. Fixes #4918
Showing
with
42 additions
and
1 deletions
-
Please register or sign in to post a comment