aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_mysql.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2016-08-28 20:40:10 +0100
committerAndreas Fischer <bantu@phpbb.com>2016-08-28 20:40:10 +0100
commit3ee5472a8ca197b411c6b9f116ce73e9bf20e13b (patch)
tree57e0522cdba6c1e741df9fa7897a14ac36b7fc54 /phpBB/phpbb/search/fulltext_mysql.php
parenta019a86bfcd7c1ffe7b38449bc6d93c377d4662a (diff)
downloadforums-3ee5472a8ca197b411c6b9f116ce73e9bf20e13b.tar
forums-3ee5472a8ca197b411c6b9f116ce73e9bf20e13b.tar.gz
forums-3ee5472a8ca197b411c6b9f116ce73e9bf20e13b.tar.bz2
forums-3ee5472a8ca197b411c6b9f116ce73e9bf20e13b.tar.xz
forums-3ee5472a8ca197b411c6b9f116ce73e9bf20e13b.zip
[ticket/14109] Increase MySQL Version for InnoDB FULLTEXT Index to 5.6.8.
This is required for proper overall database operation. In previous versions, InnoDB might error on ALTER statements when multiple FULLTEXT Indexes are defined. PHPBB3-14109
Diffstat (limited to 'phpBB/phpbb/search/fulltext_mysql.php')
-rw-r--r--phpBB/phpbb/search/fulltext_mysql.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_mysql.php b/phpBB/phpbb/search/fulltext_mysql.php
index 3ddbd85b36..9faf5ca08b 100644
--- a/phpBB/phpbb/search/fulltext_mysql.php
+++ b/phpBB/phpbb/search/fulltext_mysql.php
@@ -177,8 +177,10 @@ class fulltext_mysql extends \phpbb\search\base
$engine === 'MyISAM' ||
// 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
+ // We also require https://bugs.mysql.com/bug.php?id=67004 to be
+ // fixed for proper overall operation. Hence we require 5.6.8.
$engine === 'InnoDB' &&
- phpbb_version_compare($this->db->sql_server_info(true), '5.6.4', '>=');
+ phpbb_version_compare($this->db->sql_server_info(true), '5.6.8', '>=');
if (!$fulltext_supported)
{