From e18f29ba7a934d0d981c7a6b7ae70d8500471da8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 13 Jul 2022 12:05:34 +0200 Subject: [PATCH] Reenable the check for MySQL Native Driver in WCFSetup see #4386 --- wcfsetup/install/files/lib/system/WCFSetup.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 6291b49adf..5ab5a6db81 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -774,15 +774,13 @@ final class WCFSetup extends WCF } // check for PHP's MySQL native driver - /* $sql = "SELECT 1"; $statement = $db->prepareStatement($sql); $statement->execute(); // MySQL native driver understands data types, libmysqlclient does not if ($statement->fetchSingleColumn() !== 1) { - throw new SystemException("MySQLnd is not being used for database communication."); + throw new SystemException("MySQL Native Driver is not being used for database communication."); } - */ // check for table conflicts $conflictedTables = $this->getConflictedTables($db); -- 2.20.1