Fulltext indexes are supported in InnoDB since MariaDB 10.0.15

This commit is contained in:
Mikael Nordfeldth 2017-06-22 01:37:43 +02:00
parent fa44e0c06e
commit c9a9a8bc58
1 changed files with 2 additions and 2 deletions

View File

@ -265,8 +265,6 @@ class MysqlSchema extends Schema
* @param array $def * @param array $def
* @return string; * @return string;
* *
* @fixme ENGINE may need to be set differently in some cases,
* such as to support fulltext index.
*/ */
function endCreateTable($name, array $def) function endCreateTable($name, array $def)
{ {
@ -276,9 +274,11 @@ class MysqlSchema extends Schema
function preferredEngine($def) function preferredEngine($def)
{ {
/* MyISAM is no longer required for fulltext indexes, fortunately
if (!empty($def['fulltext indexes'])) { if (!empty($def['fulltext indexes'])) {
return 'MyISAM'; return 'MyISAM';
} }
*/
return 'InnoDB'; return 'InnoDB';
} }