From 162f628193058f35e15a4bab26947a523203b79b Mon Sep 17 00:00:00 2001 From: sunanzhi Date: Mon, 3 Jun 2024 09:50:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=BF=9E=E6=8E=A5=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/PDOConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/PDOConnection.php b/src/db/PDOConnection.php index cfdcce72..260938b8 100644 --- a/src/db/PDOConnection.php +++ b/src/db/PDOConnection.php @@ -587,7 +587,7 @@ public function connect(array $config = [], $linkNum = 0, $autoConnection = fals if ($autoConnection) { $this->db->log($e->getMessage(), 'error'); - return $this->connect($autoConnection, $linkNum); + return $this->connect([], $linkNum, false); } else { throw $e; }