r25527 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25526‎ | r25527 | r25528 >
Date:08:14, 5 September 2007
Author:midom
Status:old
Tags:
Comment:
destroy rc_patrolling index, no removers added, I hope not that many people did run update with that revision :)
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-rc_patrol_index.sql (deleted) (history)
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-rc_patrol_index.sql
@@ -1,4 +0,0 @@
2 -ALTER TABLE /*$wgDBprefix*/recentchanges
3 - ADD INDEX `rc_patrolling` ( `rc_this_oldid` , `rc_last_oldid` , `rc_patrolled` );
\ No newline at end of file
Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -344,7 +344,6 @@
345345 CREATE INDEX rc_cur_id ON recentchanges (rc_cur_id);
346346 CREATE INDEX new_name_timestamp ON recentchanges (rc_new, rc_namespace, rc_timestamp);
347347 CREATE INDEX rc_ip ON recentchanges (rc_ip);
348 -CREATE INDEX rc_patrolling ON recentchanges (rc_this_oldid, rc_last_oldid, rc_patrolled);
349348
350349
351350 CREATE TABLE watchlist (
Index: trunk/phase3/maintenance/updaters.inc
@@ -860,7 +860,6 @@
861861 $indexes = array(
862862 'rc_ns_usertext' => 'patch-recentchanges-utindex.sql',
863863 'rc_user_text' => 'patch-rc_user_text-index.sql',
864 - 'rc_patrolling' => 'patch-rc_patrol_index.sql',
865864 );
866865
867866 foreach( $indexes as $index => $patch ) {
@@ -1369,7 +1368,6 @@
13701369 array("archive", "archive_user_text", "(ar_user_text)"),
13711370 array("image", "img_sha1", "(img_sha1)"),
13721371 array("oldimage", "oi_sha1", "(oi_sha1)"),
1373 - array("recentchanges", "rc_patrolling", "(rc_this_oldid, rc_last_oldid, rc_patrolled)"),
13741372 array("revision", "rev_text_id_idx", "(rev_text_id)"),
13751373 );
13761374
@@ -1530,4 +1528,4 @@
15311529 }
15321530
15331531 return;
1534 -}
\ No newline at end of file
 1532+}
Index: trunk/phase3/maintenance/tables.sql
@@ -882,8 +882,7 @@
883883 INDEX new_name_timestamp (rc_new,rc_namespace,rc_timestamp),
884884 INDEX rc_ip (rc_ip),
885885 INDEX rc_ns_usertext (rc_namespace, rc_user_text),
886 - INDEX rc_user_text (rc_user_text, rc_timestamp),
887 - INDEX rc_patrolling (rc_this_oldid, rc_last_oldid, rc_patrolled)
 886+ INDEX rc_user_text (rc_user_text, rc_timestamp)
888887
889888 ) /*$wgDBTableOptions*/;
890889

Follow-up revisions

RevisionCommit summaryAuthorDate
r25528*Remove comment per r25527aaron08:20, 5 September 2007
r25530Merged revisions 25454-25529 via svnmerge from...david08:28, 5 September 2007

Status & tagging log