Skip to content

Commit 973b131

Browse files
feat: prepare tedious connection-pool to receive tdsVersion
1 parent 19d4483 commit 973b131

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/tedious/connection-pool.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class ConnectionPool extends BaseConnectionPool {
1313
server: this.config.server,
1414
options: Object.assign({
1515
encrypt: typeof this.config.encrypt === 'boolean' ? this.config.encrypt : true,
16-
trustServerCertificate: typeof this.config.trustServerCertificate === 'boolean' ? this.config.trustServerCertificate : false
16+
trustServerCertificate: typeof this.config.trustServerCertificate === 'boolean' ? this.config.trustServerCertificate : false,
17+
tdsVersion: this.config.tdsVersion
1718
}, this.config.options),
1819
authentication: Object.assign({
1920
type: this.config.domain !== undefined ? 'ntlm' : this.config.authentication_type !== undefined ? this.config.authentication_type : 'default',

0 commit comments

Comments
 (0)