From c3eced973a7abb7fe4db2036bdfa3d475bda01fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Aug 2023 14:14:03 +0800 Subject: [PATCH] qqq --- Connection.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Connection.php b/Connection.php index e5b12c0..e633414 100644 --- a/Connection.php +++ b/Connection.php @@ -160,7 +160,6 @@ class Connection extends Component } [$client, $time] = $data; - file_put_contents('php://output', ((time() . ' ' . $time) . ' ' . $this->idle_time) . PHP_EOL, FILE_APPEND); if ((time() - $time) < $this->idle_time && $this->canUse($client)) { return $client; } @@ -310,7 +309,6 @@ class Connection extends Component */ public function release(PDO $PDO): void { - file_put_contents('php://output', '回收PDO连接. inTransaction ' . (int)$this->inTransaction() . $this->cds, FILE_APPEND); if ($this->inTransaction()) { return; } @@ -344,7 +342,6 @@ class Connection extends Component */ public function newConnect(): array { - file_put_contents('php://output', '创建PDO连接.' . $this->cds, FILE_APPEND); $options = array_merge($this->attributes, [ PDO::ATTR_CASE => PDO::CASE_NATURAL, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,