From 656753cf60eb78b43d00f818dbdd36e183e1e0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 31 Mar 2023 11:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Connection.php b/Connection.php index cc826c3..3a4b78c 100644 --- a/Connection.php +++ b/Connection.php @@ -223,7 +223,7 @@ class Connection extends Component if ($pdo->inTransaction()) { $pdo->rollback(); } - $this->release(true); + $this->release($pdo,true); } /** @@ -236,7 +236,7 @@ class Connection extends Component if ($pdo->inTransaction()) { $pdo->commit(); } - $this->release(true); + $this->release($pdo,true); }