mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user