Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-17 10:59:55 +08:00
parent fa76b5170a
commit 466df3387f
+1 -1
View File
@@ -97,7 +97,7 @@ class Connection extends Component
$minx = Config::get('databases.pool.min', 1);
/** @var PDO $connections */
$connections = $this->getPool()->get($coroutineName, null, $minx);
$connections = $this->getPool()->get($coroutineName, $this->create($coroutineName, $config), $minx);
if (Context::hasContext('begin_' . $coroutineName)) {
$connections->beginTransaction();
}