From 8130fbd0f65ac0435c5f75da8808187839a83298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BA=A6=E5=BD=93=E8=8B=97=E5=84=BF?= Date: Mon, 1 Feb 2016 01:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E5=8F=98?= =?UTF-8?q?=E9=87=8F=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 --- library/think/db/Driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Driver.php b/library/think/db/Driver.php index 36a02a88..39cdb060 100644 --- a/library/think/db/Driver.php +++ b/library/think/db/Driver.php @@ -131,7 +131,7 @@ abstract class Driver Log::record($e->getMessage(), 'error'); return $this->connect($autoConnection, $linkNum); } else { - throw new PDOException($e, $this->config, $queryStr); + throw new PDOException($e, $this->config, $this->queryStr); } } }