r100467 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100466‎ | r100467 | r100468 >
Date:22:28, 21 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r99836, just comment out the offending index

Bug 31867 - Installer fails on 1.18wmf1 (missing searchindex table)
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/tables.sql
@@ -1090,7 +1090,32 @@
10911091 CREATE UNIQUE INDEX /*i*/wl_user ON /*_*/watchlist (wl_user, wl_namespace, wl_title);
10921092 CREATE INDEX /*i*/namespace_title ON /*_*/watchlist (wl_namespace, wl_title);
10931093
 1094+
10941095 --
 1096+-- When using the default MySQL search backend, page titles
 1097+-- and text are munged to strip markup, do Unicode case folding,
 1098+-- and prepare the result for MySQL's fulltext index.
 1099+--
 1100+-- This table must be MyISAM; InnoDB does not support the needed
 1101+-- fulltext index.
 1102+--
 1103+CREATE TABLE /*_*/searchindex (
 1104+ -- Key to page_id
 1105+ si_page int unsigned NOT NULL,
 1106+
 1107+ -- Munged version of title
 1108+ si_title varchar(255) NOT NULL default '',
 1109+
 1110+ -- Munged version of body text
 1111+ si_text mediumtext NOT NULL
 1112+) ENGINE=MyISAM;
 1113+
 1114+CREATE UNIQUE INDEX /*i*/si_page ON /*_*/searchindex (si_page);
 1115+CREATE FULLTEXT INDEX /*i*/si_title ON /*_*/searchindex (si_title);
 1116+--CREATE FULLTEXT INDEX /*i*/si_text ON /*_*/searchindex (si_text);
 1117+
 1118+
 1119+--
10951120 -- Recognized interwiki link prefixes
10961121 --
10971122 CREATE TABLE /*_*/interwiki (

Follow-up revisions

RevisionCommit summaryAuthorDate
r100469Followup r100467, comment out fulltext on si_titlereedy22:32, 21 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99836Bug 31624 - DB error on addwiki command: Column 'si_title' cannot be part of ...reedy01:38, 15 October 2011

Status & tagging log