+ $mysqlVersion = CRM_Core_DAO::singleValueQuery('SELECT VERSION()');
+ if (version_compare($mysqlVersion, '5.6', '<')) {
+ // If we're not on 5.6+, then there cannot be any InnoDB FTS indices!
+ // Also: information_schema.innodb_sys_indexes is only available on 5.6+.
+ return array();
+ }
+