Update Fix
This commit is contained in:
6
node_modules/mysql2/lib/promise/connection.js
generated
vendored
6
node_modules/mysql2/lib/promise/connection.js
generated
vendored
@@ -66,6 +66,12 @@ class PromiseConnection extends EventEmitter {
|
||||
});
|
||||
}
|
||||
|
||||
async [Symbol.asyncDispose]() {
|
||||
if (!this.connection._closing) {
|
||||
await this.end();
|
||||
}
|
||||
}
|
||||
|
||||
beginTransaction() {
|
||||
const c = this.connection;
|
||||
const localErr = new Error();
|
||||
|
||||
Reference in New Issue
Block a user