r25604 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25603‎ | r25604 | r25605 >
Date:02:19, 7 September 2007
Author:simetrical
Status:old
Tags:
Comment:
svn add might in some cases be helpful when committing files that did not previously exist.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-rev_bot.sql (added) (history)
  • /trunk/phase3/maintenance/archives/patch-revision-user-page-index.sql (added) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-rev_bot.sql
@@ -0,0 +1,5 @@
 2+-- Add rev_bot column. We don't need an index if all we want to be able to do
 3+-- is, e.g., hide bot edits: most edits are non-bot, so for normal use it's
 4+-- better to just look at 20% more rows or whatever than to add a new index.
 5+ALTER TABLE /*$wgDBprefix*/revision
 6+ ADD COLUMN rev_bot tinyint unsigned NOT NULL default 0 AFTER rev_deleted;
Property changes on: trunk/phase3/maintenance/archives/patch-rev_bot.sql
___________________________________________________________________
Name: svn:eol-style
17 + native
Index: trunk/phase3/maintenance/archives/patch-revision-user-page-index.sql
@@ -0,0 +1,5 @@
 2+-- New index on revision table to allow searches for all edits by a given user
 3+-- to a given page. Added 2007-08-28
 4+
 5+ALTER TABLE /*$wgDBprefix*/revision
 6+ ADD INDEX page_user_timestamp (rev_page,rev_user,rev_timestamp);
Property changes on: trunk/phase3/maintenance/archives/patch-revision-user-page-index.sql
___________________________________________________________________
Name: svn:eol-style
17 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r25607Merged revisions 25530-25606 via svnmerge from...david06:11, 7 September 2007

Status & tagging log