Skip to content

Commit 53fc9ea

Browse files
authored
Merge pull request #1543 from partik-mis/1542-fix
Fix for #1542.
2 parents 0c9ce86 + ff05cce commit 53fc9ea

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

CHANGELOG.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
v9.1.3 (2023-??-??)
1+
v9.3.1 (2023-09-05)
2+
-------------------
3+
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525])
4+
5+
v9.3.0 (2023-09-04)
6+
-------------------
7+
[new] Add AAD connection support to connection strings ((#1461)[https://github.com/tediousjs/node-mssql/pull/1461])
8+
9+
v9.2.1 (2023-09-05)
10+
-------------------
11+
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525])
12+
13+
v9.2.0 (2023-08-28)
14+
-------------------
15+
[new] Use @tediousjs/connection-string library to build msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525])
16+
17+
v9.1.3 (2023-08-08)
218
-------------------
319
[fix] Escape values that are added to the msnodesqlv8 connection string that we construct ((#1479)[https://github.com/tediousjs/node-mssql/pull/1479])
420

lib/msnodesqlv8/connection-pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ConnectionPool extends BaseConnectionPool {
2424
if (!this.config.connectionString) {
2525
cfg.conn_str = buildConnectionString({
2626
Driver: CONNECTION_DRIVER,
27-
Server: this.config.options.instanceName ? `${this.config.server}\\${this.config.instanceName}` : `${this.config.server},${this.config.port}`,
27+
Server: this.config.options.instanceName ? `${this.config.server}\\${this.config.options.instanceName}` : `${this.config.server},${this.config.port}`,
2828
Database: this.config.database,
2929
Uid: this.config.user,
3030
Pwd: this.config.password,

0 commit comments

Comments
 (0)