Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-14 16:50:01 +08:00
parent ac0c08f909
commit 5b22955966
+14 -4
View File
@@ -325,8 +325,13 @@ class Connection extends Component
return; return;
} }
$connections = $this->connections(); $connections = $this->connections();
$connections->release($this->cds, true); $connections->release($this->cds, true, $config = $this->_config());
$connections->release($this->slaveConfig['cds'], false);
$config['cds'] = $this->slaveConfig['cds'];
$config['username'] = $this->slaveConfig['username'];
$config['password'] = $this->slaveConfig['password'];
$connections->release($this->slaveConfig['cds'], false, $config);
} }
@@ -337,8 +342,13 @@ class Connection extends Component
{ {
$connections = $this->connections(); $connections = $this->connections();
$connections->release($this->cds, true); $connections->release($this->cds, true, $config = $this->_config());
$connections->release($this->slaveConfig['cds'], false);
$config['cds'] = $this->slaveConfig['cds'];
$config['username'] = $this->slaveConfig['username'];
$config['password'] = $this->slaveConfig['password'];
$connections->release($this->slaveConfig['cds'], false, $config);
} }
/** /**