From 8cc44f8bf609bc9158d3a6dd3bf66906326a4b0d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 18 May 2017 13:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Connection.php | 1 - 1 file changed, 1 deletion(-) diff --git a/library/think/db/Connection.php b/library/think/db/Connection.php index fb38f6bc..bb2b02be 100644 --- a/library/think/db/Connection.php +++ b/library/think/db/Connection.php @@ -879,7 +879,6 @@ abstract class Connection Debug::remark('queryEndTime', 'time'); $runtime = Debug::getRangeTime('queryStartTime', 'queryEndTime'); $sql = $sql ?: $this->getLastsql(); - $log = $sql . ' [ RunTime:' . $runtime . 's ]'; $result = []; // SQL性能分析 if ($this->config['sql_explain'] && 0 === stripos(trim($sql), 'select')) {