From 5d395bd6f404ef3cd31adebc4eaadb4ec68cd87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 9 Jun 2022 10:02:57 +0800 Subject: [PATCH] modify plugin name --- Connection.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Connection.php b/Connection.php index 9a7de4b..b45a13a 100644 --- a/Connection.php +++ b/Connection.php @@ -149,6 +149,9 @@ class Connection extends Component */ public function getMasterClient(): PDO { + if ($this->_pdo) { + return $this->_pdo; + } return $this->connections()->get([ 'cds' => $this->cds, 'username' => $this->username,