变更
This commit is contained in:
@@ -194,6 +194,7 @@ class Connection extends Component
|
|||||||
*/
|
*/
|
||||||
public function getPdo(bool $restore = false): PDO
|
public function getPdo(bool $restore = false): PDO
|
||||||
{
|
{
|
||||||
|
return $this->getMasterClient();
|
||||||
if ($restore === true) {
|
if ($restore === true) {
|
||||||
return Context::set($this->cds, $this->getMasterClient());
|
return Context::set($this->cds, $this->getMasterClient());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user