mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16423] Add Aria Engine to list of Fulltext Supported
PHPBB3-16423
This commit is contained in:
parent
551a018613
commit
c190451098
1 changed files with 2 additions and 3 deletions
|
@ -173,7 +173,7 @@ class fulltext_mysql extends \phpbb\search\base
|
||||||
$engine = $info['Type'];
|
$engine = $info['Type'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$fulltext_supported = ($engine === 'Aria' || $engine === 'MyISAM'
|
$fulltext_supported = $engine === 'Aria' || $engine === 'MyISAM'
|
||||||
/**
|
/**
|
||||||
* FULLTEXT is supported on InnoDB since MySQL 5.6.4 according to
|
* FULLTEXT is supported on InnoDB since MySQL 5.6.4 according to
|
||||||
* http://dev.mysql.com/doc/refman/5.6/en/innodb-storage-engine.html
|
* http://dev.mysql.com/doc/refman/5.6/en/innodb-storage-engine.html
|
||||||
|
@ -181,8 +181,7 @@ class fulltext_mysql extends \phpbb\search\base
|
||||||
* fixed for proper overall operation. Hence we require 5.6.8.
|
* fixed for proper overall operation. Hence we require 5.6.8.
|
||||||
*/
|
*/
|
||||||
|| $engine === 'InnoDB'
|
|| $engine === 'InnoDB'
|
||||||
&& phpbb_version_compare($this->db->sql_server_info(true), '5.6.8', '>=')
|
&& phpbb_version_compare($this->db->sql_server_info(true), '5.6.8', '>=');
|
||||||
);
|
|
||||||
|
|
||||||
if (!$fulltext_supported)
|
if (!$fulltext_supported)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue