Skip to content

mssql uri connection string: enableArithAbort #995

@Vizzr

Description

@Vizzr

I updated to the most recent node-mssql version and now I am getting a tedious deprecated warning: tedious deprecated The default value for config.options.enableArithAbort will change from false to true in the next major version of tedious. Set the value to true or false explicitly to silence this message.

I have looked through this repository, but I only found the solution for passing a config to the ConnectionPool.

How would this work with the uri connection string?
mssql://username:password@ip:1433/database?encrypt=true&enableArithAbort=false

Expected behaviour:

The deprecated message goes away

Actual behaviour:

Message is still there, eventhough the enableArithAbort is passed
mssql://username:password@ip:1433/database?encrypt=true&enableArithAbort=false

Configuration:

mssql://username:password@ip:1433/database?encrypt=true&enableArithAbort=false

Software versions

  • NodeJS: 10.5.0
  • node-mssql: 6.1.0
  • SQL Server: 13.0.4001.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions