From 59cf5e7d64bcefbe2e05e3a8779f6288285759e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 2 Apr 2023 23:58:50 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Connection.php b/Connection.php index b62eb89..407ad74 100644 --- a/Connection.php +++ b/Connection.php @@ -254,9 +254,9 @@ class Connection extends Component */ public function release(Mysql\PDO $PDO) { - if ($PDO->inTransaction()) { - return; - } +// if ($PDO->inTransaction()) { +// return; +// } $this->connection->addItem($this->cds, $PDO); Context::remove($this->cds); }