mirror of
https://github.com/knex/knex.git
synced 2025-12-25 05:59:00 +00:00
Fix reference
This commit is contained in:
parent
dff5a1409a
commit
12ce5d74f1
@ -91,7 +91,7 @@ function connectionErrorHandler(client, connection, err) {
|
||||
if (connection && err && err.fatal) {
|
||||
if (connection.__knex__disposed) return;
|
||||
connection.__knex__disposed = true;
|
||||
client.pool.genericPool.destroy(connection);
|
||||
client.pool.destroy(connection);
|
||||
}
|
||||
}
|
||||
|
||||
@ -117,4 +117,4 @@ Client_MySQL.prototype.destroyRawConnection = function(connection) {
|
||||
connection.end();
|
||||
};
|
||||
|
||||
module.exports = Client_MySQL;
|
||||
module.exports = Client_MySQL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user