From: Tim Düsterhus Date: Wed, 13 Jul 2022 10:05:34 +0000 (+0200) Subject: Reenable the check for MySQL Native Driver in WCFSetup X-Git-Tag: 6.0.0_Alpha_1~1115^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e18f29ba7a934d0d981c7a6b7ae70d8500471da8;p=GitHub%2FWoltLab%2FWCF.git Reenable the check for MySQL Native Driver in WCFSetup see #4386 --- 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);