We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dea4bbb commit d17c968Copy full SHA for d17c968
index.js
@@ -94,6 +94,7 @@ class MsSql {
94
if ( this._isConnected ) {
95
let pool = await this._pool();
96
await pool.close();
97
+ await mssql.close();
98
this._isConnected = false;
99
}
100
@@ -123,7 +124,7 @@ class MsSql {
123
124
*/
125
async beginTransaction() {
126
if ( this.inTransaction() ) {
- false;
127
+ return false;
128
129
130
this.transaction = new mssql.Transaction( pool );
0 commit comments