From 514562759ba8df84ba8ab36d79a2b58c78ffa603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 16 Aug 2021 19:05:37 +0800 Subject: [PATCH] e --- src/Mysql/PDO.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Mysql/PDO.php b/src/Mysql/PDO.php index 0f230ce..a0b6d3b 100644 --- a/src/Mysql/PDO.php +++ b/src/Mysql/PDO.php @@ -75,10 +75,6 @@ class PDO $this->stopHeartbeatCheck(); $this->pdo = null; } - if (!$this->_pdo()->getAttribute(\PDO::ATTR_SERVER_INFO)) { - $this->stopHeartbeatCheck(); - $this->pdo = null; - } } catch (\Throwable $throwable) { error($throwable); }