Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -97,7 +97,7 @@ class Connection extends Component
|
|||||||
$minx = Config::get('databases.pool.min', 1);
|
$minx = Config::get('databases.pool.min', 1);
|
||||||
|
|
||||||
/** @var PDO $connections */
|
/** @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)) {
|
if (Context::hasContext('begin_' . $coroutineName)) {
|
||||||
$connections->beginTransaction();
|
$connections->beginTransaction();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user