badmfck-api-server 3.5.7 → 3.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -508,8 +508,9 @@ class MysqlAdapter {
|
|
508
508
|
await trx.conn.commit();
|
509
509
|
trx.conn.removeAllListeners();
|
510
510
|
trx.conn.release();
|
511
|
-
|
512
|
-
|
511
|
+
(0, LogService_1.logDB)("Rollback connection released", trx.conn.threadId);
|
512
|
+
if (!donNotRemove && this.transactions)
|
513
|
+
this.transactions = this.transactions.filter(i => trx && i && i.id !== trx.id);
|
513
514
|
if (this.options.debug)
|
514
515
|
(0, LogService_1.logDB)("Rollback complete", trx.conn.threadId);
|
515
516
|
}
|