badmfck-api-server 2.2.7 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -586,6 +586,12 @@ class MysqlService extends BaseService_1.BaseService {
|
|
586
586
|
});
|
587
587
|
return;
|
588
588
|
}
|
589
|
+
for (let i of this.transactions) {
|
590
|
+
if (i.conn === conn) {
|
591
|
+
(0, LogService_1.logInfo)("Your connection is in transaction");
|
592
|
+
break;
|
593
|
+
}
|
594
|
+
}
|
589
595
|
this.sendQuery(conn, query, resolve, rollbackQuery);
|
590
596
|
}
|
591
597
|
catch (e) {
|