From: Marcel Werk Date: Thu, 27 Jun 2013 17:37:35 +0000 (+0200) Subject: Fixed InnoDB check X-Git-Tag: 2.0.0_Beta_5~121 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a4f6a98ba58c73b816000356751b2a743d5d2ce;p=GitHub%2FWoltLab%2FWCF.git Fixed InnoDB check --- diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 7f1145d4a9..8dbd28f1cb 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -630,12 +630,12 @@ class WCFSetup extends WCF { } } // check innodb support - if ($dbClass == 'MySQLDatabase') { + if ($dbClass == 'wcf\system\database\MySQLDatabase') { $sql = "SHOW VARIABLES WHERE Variable_name = 'have_innodb'"; $statement = $db->prepareStatement($sql); $statement->execute(); $row = $statement->fetchArray(); - if ($row !== false || $row['Value'] != 'YES') { + if ($row === false || $row['Value'] != 'YES') { throw new SystemException("Support for InnoDB is missing."); } }