From 9eb7a11b6c543d6ff91ba38d016ada17de0d319d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 25 Aug 2023 10:21:56 +0800 Subject: [PATCH] qqq --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index 19d9117..50219df 100644 --- a/Connection.php +++ b/Connection.php @@ -223,7 +223,7 @@ class Connection extends Component $pdo = Context::get($this->cds); if ($pdo === null) { $pdo = $this->getNormalClientHealth(); - if ($this->storey > 0 && !$pdo->inTransaction()) { + if (!$pdo->inTransaction()) { $pdo->beginTransaction(); } Context::set($this->cds, $pdo);