Login works
This commit is contained in:
19
backend/node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
19
backend/node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
const PromiseConnection = require('./connection.js');
|
||||
|
||||
class PromisePoolConnection extends PromiseConnection {
|
||||
constructor(connection, promiseImpl) {
|
||||
super(connection, promiseImpl);
|
||||
}
|
||||
|
||||
destroy() {
|
||||
return this.connection.destroy();
|
||||
}
|
||||
|
||||
async [Symbol.asyncDispose]() {
|
||||
this.release();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PromisePoolConnection;
|
||||
Reference in New Issue
Block a user