This commit is contained in:
2023-03-31 11:09:12 +08:00
parent 783703eb0f
commit 656753cf60
+2 -2
View File
@@ -223,7 +223,7 @@ class Connection extends Component
if ($pdo->inTransaction()) { if ($pdo->inTransaction()) {
$pdo->rollback(); $pdo->rollback();
} }
$this->release(true); $this->release($pdo,true);
} }
/** /**
@@ -236,7 +236,7 @@ class Connection extends Component
if ($pdo->inTransaction()) { if ($pdo->inTransaction()) {
$pdo->commit(); $pdo->commit();
} }
$this->release(true); $this->release($pdo,true);
} }