改名
This commit is contained in:
@@ -159,26 +159,10 @@ class Connection extends Pool
|
||||
$link->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
$link->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
|
||||
$link->setAttribute(PDO::ATTR_ORACLE_NULLS, PDO::NULL_EMPTY_STRING);
|
||||
|
||||
// $this->printClients($config['cds'], '', '');
|
||||
// $this->increment($name);
|
||||
|
||||
return $link;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $cds
|
||||
* @param $coroutineName
|
||||
* @param false $isBefore
|
||||
* @throws Exception
|
||||
*/
|
||||
public function printClients($cds, $coroutineName, $isBefore = false)
|
||||
{
|
||||
// $this->success('create client connect ' . $cds);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $coroutineName
|
||||
* @param $isMaster
|
||||
@@ -220,15 +204,6 @@ class Connection extends Pool
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $coroutineName
|
||||
*/
|
||||
public function remove($coroutineName)
|
||||
{
|
||||
Context::remove($coroutineName);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param mixed $client
|
||||
@@ -262,9 +237,6 @@ class Connection extends Pool
|
||||
public function disconnect($coroutineName, $isMaster = false)
|
||||
{
|
||||
$coroutineName = $this->name($coroutineName, $isMaster);
|
||||
if ($this->hasClient($coroutineName)) {
|
||||
$this->remove($coroutineName);
|
||||
}
|
||||
$this->clean($coroutineName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user