This commit is contained in:
as2252258@163.com
2021-04-23 03:45:46 +08:00
parent 176d6256d7
commit 93ca2318bd
3 changed files with 1 additions and 38 deletions
-6
View File
@@ -154,8 +154,6 @@ class Connection extends Pool
*/
public function createClient(string $name, mixed $config): PDO
{
$this->printClients($config['cds'], $name, true);
// TODO: Implement createClient() method.
$link = new PDO($config['cds'], $config['username'], $config['password'], [
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_CASE => PDO::CASE_NATURAL,
@@ -195,8 +193,6 @@ class Connection extends Pool
return;
}
$this->releaseClients('rds', $coroutineName);
/** @var PDO $client */
$client = Context::getContext($coroutineName);
if ($client->inTransaction()) {
@@ -224,8 +220,6 @@ class Connection extends Pool
*/
public function connection_clear()
{
$this->releaseClients('rds', 'rds');
$this->flush(0);
}