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')) {