From d4ac0572618a515a16d2d03d7aee11200ec29845 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 28 Mar 2024 20:03:07 +0100 Subject: [PATCH] Fixes --- src/Internal/Driver/MysqlArray.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Internal/Driver/MysqlArray.php b/src/Internal/Driver/MysqlArray.php index e7dd152..eae87bf 100644 --- a/src/Internal/Driver/MysqlArray.php +++ b/src/Internal/Driver/MysqlArray.php @@ -79,15 +79,19 @@ final class MysqlArray extends SqlArray if ($max < 100000) { $connection->query("SET GLOBAL max_connections = 100000"); } + // @codeCoverageIgnoreStart } catch (\Throwable) { } + // @codeCoverageIgnoreEnd $connection->close(); $host = $settings->config->getHost(); $port = $settings->config->getPort(); + // @codeCoverageIgnoreStart if (!\extension_loaded('pdo_mysql')) { throw new AssertionError("PDO is needed for the mysql backend!"); } + // @codeCoverageIgnoreEnd $pdo = new PDO( $host[0] === '/'