改名
This commit is contained in:
@@ -157,7 +157,7 @@ class Connection extends Pool
|
||||
}
|
||||
[$time, $connections] = $this->get($coroutineName);
|
||||
if (!($connections instanceof PDO)) {
|
||||
throw new Exception('Database exception.');
|
||||
return $this->newClient($config, $coroutineName);
|
||||
}
|
||||
return Context::setContext($coroutineName, $connections);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user