From 2a913bdc8ef4fbaeaa6483877c3cc68d0000e91b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 23 Dec 2020 12:42:50 +0100 Subject: [PATCH] Replace MyISAM with InnoDB in SystemCheck for search engine tables see #3404 --- wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php | 2 +- wcfsetup/install/lang/de.xml | 4 ++-- wcfsetup/install/lang/en.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php b/wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php index 45601145bd..198788a85d 100644 --- a/wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php @@ -274,7 +274,7 @@ class SystemCheckPage extends AbstractPage { $statement->execute($conditionBuilder->getParameters()); while ($row = $statement->fetchArray()) { - if ($row['ENGINE'] !== 'MyISAM') { + if ($row['ENGINE'] !== 'InnoDB') { $this->results['mysql']['searchEngine']['incorrectTables'][$row['TABLE_NAME']] = $row['ENGINE']; } } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 21aefbcb40..440005ea6f 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2750,8 +2750,8 @@ Kein Abschnitt darf leer sein und alle Abschnitten dürfen nur folgende Zeichen - - MyISAM): {implode from=$results[mysql][searchEngine][incorrectTables] key=tableName item=engine glue=", "}{$tableName} ({$engine}){/implode}.]]> + + InnoDB): {implode from=$results[mysql][searchEngine][incorrectTables] key=tableName item=engine glue=", "}{$tableName} ({$engine}){/implode}.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index b69e63189d..f7e0332f45 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2678,8 +2678,8 @@ If you have already bought the licenses for the listed apps, th - - MyISAM): {implode from=$results[mysql][searchEngine][incorrectTables] key=tableName item=engine glue=", "}{$tableName} ({$engine}){/implode}.]]> + + InnoDB): {implode from=$results[mysql][searchEngine][incorrectTables] key=tableName item=engine glue=", "}{$tableName} ({$engine}){/implode}.]]> -- 2.20.1