From cfa31ff677cfcf2ea5cd27dc49e7bb4f827c1fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 9 Aug 2021 11:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Pool/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 8c397293..76b63d3a 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -45,7 +45,7 @@ class Connection extends Component { $coroutineName = $this->name('Mysql:' . $coroutineName, true); if (!Context::hasContext('begin_' . $coroutineName)) { - Context::setContext('begin_' . $coroutineName, 0); + Context::setContext('begin_' . $coroutineName, 1); } Context::increment('begin_' . $coroutineName);