This commit is contained in:
as2252258@163.com
2021-04-24 19:55:22 +08:00
parent 0deb02d4f6
commit c3a3d378ac
+1 -3
View File
@@ -241,9 +241,7 @@ class Connection extends Pool
try {
if (empty($client) || !($client instanceof PDO)) {
$result = false;
} else if (!$client->getAttribute(PDO::ATTR_SERVER_INFO)) {
$result = false;
} else {
} else {
$result = true;
}
} catch (Error | Throwable $exception) {