From 576b08cb41d10a2a75245d4c036d44ed6f199a4b Mon Sep 17 00:00:00 2001 From: addshore Date: Tue, 27 Jan 2015 10:22:07 -0800 Subject: [PATCH] Run clearSearchIndex when mysql in rebuildTextIndex Bug: T64276 Change-Id: If86fe65dbbc04e4d83882155ec50375f9e179581 --- maintenance/rebuildtextindex.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/rebuildtextindex.php b/maintenance/rebuildtextindex.php index bc85c666af..e29d89e193 100644 --- a/maintenance/rebuildtextindex.php +++ b/maintenance/rebuildtextindex.php @@ -70,6 +70,7 @@ class RebuildTextIndex extends Maintenance { if ( $this->db->getType() == 'mysql' ) { $this->dropMysqlTextIndex(); + $this->clearSearchIndex(); $this->populateSearchIndex(); $this->createMysqlTextIndex(); } else { -- 2.20.1