From c9a9a8bc58d613056a5a584a203889fd602d8ac1 Mon Sep 17 00:00:00 2001
From: Mikael Nordfeldth <mmn@hethane.se>
Date: Thu, 22 Jun 2017 01:37:43 +0200
Subject: [PATCH] Fulltext indexes are supported in InnoDB since MariaDB
 10.0.15

---
 lib/mysqlschema.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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';
     }
 
-- 
2.39.5