From: Mikael Nordfeldth Date: Wed, 21 Jun 2017 23:37:43 +0000 (+0200) Subject: Fulltext indexes are supported in InnoDB since MariaDB 10.0.15 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9a9a8bc58d613056a5a584a203889fd602d8ac1;p=quix0rs-gnu-social.git Fulltext indexes are supported in InnoDB since MariaDB 10.0.15 --- diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 9081c0e578..30c808ab3d 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -265,8 +265,6 @@ class MysqlSchema extends Schema * @param array $def * @return string; * - * @fixme ENGINE may need to be set differently in some cases, - * such as to support fulltext index. */ function endCreateTable($name, array $def) { @@ -276,9 +274,11 @@ class MysqlSchema extends Schema function preferredEngine($def) { + /* MyISAM is no longer required for fulltext indexes, fortunately if (!empty($def['fulltext indexes'])) { return 'MyISAM'; } + */ return 'InnoDB'; }