This commit is contained in:
Ciro Spaciari
2025-09-08 21:49:07 -07:00
parent 413dd86bf8
commit becf7777ef

View File

@@ -383,7 +383,7 @@ class PooledMySQLConnection {
this.connection = null;
this.adapter.readyConnections.delete(this);
const queries = new Set(this.queries);
this.queries?.clear?.();
this.queries.clear();
this.queryCount = 0;
this.flags &= ~PooledConnectionFlags.reserved;
const connectionInfo = this.connectionInfo;