From 483c824df9744a1fd593d6ac767470dc85e0edf7 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 16 Apr 2016 15:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Query=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 3971b0d7..eb4021f3 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1218,7 +1218,7 @@ class Query // 生成删除SQL语句 $sql = $this->builder()->delete($options); // 执行操作 - return $this->execute($sql, $this->getBind(), $options['fetch_sql']); + return $this->connection->execute($sql, $this->getBind(), $options['fetch_sql']); } /**