This commit is contained in:
2021-08-09 11:39:32 +08:00
parent 370d758768
commit cfa31ff677
+1 -1
View File
@@ -45,7 +45,7 @@ class Connection extends Component
{ {
$coroutineName = $this->name('Mysql:' . $coroutineName, true); $coroutineName = $this->name('Mysql:' . $coroutineName, true);
if (!Context::hasContext('begin_' . $coroutineName)) { if (!Context::hasContext('begin_' . $coroutineName)) {
Context::setContext('begin_' . $coroutineName, 0); Context::setContext('begin_' . $coroutineName, 1);
} }
Context::increment('begin_' . $coroutineName); Context::increment('begin_' . $coroutineName);