mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
5c0ec6eca9
@ -173,14 +173,15 @@ class fulltext_mysql extends \phpbb\search\base
|
|||||||
$engine = $info['Type'];
|
$engine = $info['Type'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$fulltext_supported =
|
$fulltext_supported = $engine === 'Aria' || $engine === 'MyISAM'
|
||||||
$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
|
||||||
// We also require https://bugs.mysql.com/bug.php?id=67004 to be
|
* We also require https://bugs.mysql.com/bug.php?id=67004 to be
|
||||||
// fixed for proper overall operation. Hence we require 5.6.8.
|
* fixed for proper overall operation. Hence we require 5.6.8.
|
||||||
$engine === 'InnoDB' &&
|
*/
|
||||||
phpbb_version_compare($this->db->sql_server_info(true), '5.6.8', '>=');
|
|| $engine === 'InnoDB'
|
||||||
|
&& phpbb_version_compare($this->db->sql_server_info(true), '5.6.8', '>=');
|
||||||
|
|
||||||
if (!$fulltext_supported)
|
if (!$fulltext_supported)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user