Fix reference

This commit is contained in:
Kris Reeves 2015-02-19 11:53:57 -05:00
parent dff5a1409a
commit 12ce5d74f1

View File

@ -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;