aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-13 14:25:28 +0200
committerAndreas Fischer <bantu@phpbb.com>2013-10-13 14:25:28 +0200
commit6ccceca064929af4f1c59da56586e3d3003bcdda (patch)
tree4df653153aba98c31a3c3a2a026611041753093b /phpBB/phpbb/db/migration
parent4c560806085f38e33fa0a2e726f99e7d5c457369 (diff)
downloadforums-6ccceca064929af4f1c59da56586e3d3003bcdda.tar
forums-6ccceca064929af4f1c59da56586e3d3003bcdda.tar.gz
forums-6ccceca064929af4f1c59da56586e3d3003bcdda.tar.bz2
forums-6ccceca064929af4f1c59da56586e3d3003bcdda.tar.xz
forums-6ccceca064929af4f1c59da56586e3d3003bcdda.zip
[ticket/11621] Add explanation to mysql_fulltext_drop.
PHPBB3-11621
Diffstat (limited to 'phpBB/phpbb/db/migration')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php b/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php
index def4163190..97d174d4bc 100644
--- a/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php
+++ b/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php
@@ -26,6 +26,14 @@ class mysql_fulltext_drop extends \phpbb\db\migration\migration
public function update_schema()
{
+ /*
+ * Drop FULLTEXT indexes related to MySQL fulltext search.
+ * Doing so is equivalent to dropping the search index from the ACP.
+ * Possibly time-consuming recreation of the search index (i.e.
+ * FULLTEXT indexes) is left as a task to the admin to not
+ * unnecessarily stall the upgrade process. The new search index will
+ * then require about 40% less table space (also see PHPBB3-11621).
+ */
return array(
'drop_keys' => array(
$this->table_prefix . 'posts' => array(