From 81c2b0e1144fa6b8d741dd922c666ee4f74bd8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 5 Apr 2023 13:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Connection.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Connection.php b/Connection.php index 3000110..330fd6a 100644 --- a/Connection.php +++ b/Connection.php @@ -194,6 +194,7 @@ class Connection extends Component */ public function getPdo(bool $restore = false): PDO { + return $this->getMasterClient(); if ($restore === true) { return Context::set($this->cds, $this->getMasterClient()); }