r49454 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49453‎ | r49454 | r49455 >
Date:02:14, 14 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Added proposed log_search table to deal with revisiondelete log extracts and possibly other issues
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-log_search.sql (added) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-log_search.sql
@@ -0,0 +1,13 @@
 2+CREATE TABLE /*_*/log_search (
 3+ -- Key to log_type
 4+ ls_log_type varbinary(32) NOT NULL,
 5+ -- Key to log_action
 6+ ls_log_action varbinary(32) NOT NULL,
 7+ -- The type of ID (rev ID, timestamp, other)
 8+ ls_field varbinary(32) NOT NULL,
 9+ -- The value of the ID
 10+ ls_value varchar(255) NOT NULL,
 11+ -- Key to log_id
 12+ ls_log_id int unsigned NOT NULL default 0
 13+);
 14+CREATE INDEX /*i*/log_field_value ON /*_*/log_search (ls_field,ls_value,ls_log_id);
Property changes on: trunk/phase3/maintenance/archives/patch-log_search.sql
___________________________________________________________________
Name: svn:eol-style
115 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r49455Tweak r49454: remove duplicationaaron04:54, 14 April 2009
r49468Follow up to r49454: redid indexingaaron15:38, 14 April 2009

Status & tagging log