r9622 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9621‎ | r9622 | r9623 >
Date:22:29, 24 June 2005
Author:timstarling
Status:old
Tags:
Comment:
Added missing index, fixed ss_row_id default
Modified paths:
  • /branches/REL1_4/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/maintenance/tables.sql
@@ -60,7 +60,8 @@
6161 INDEX name_title_timestamp (cur_namespace,cur_title,inverse_timestamp),
6262 INDEX user_timestamp (cur_user,inverse_timestamp),
6363 INDEX usertext_timestamp (cur_user_text,inverse_timestamp),
64 - INDEX namespace_redirect_timestamp(cur_namespace,cur_is_redirect,cur_timestamp)
 64+ INDEX namespace_redirect_timestamp(cur_namespace,cur_is_redirect,cur_timestamp),
 65+ INDEX id_title_ns_red (cur_id,cur_title,cur_namespace,Cur_is_redirect)
6566 );
6667
6768 CREATE TABLE /*$wgDBprefix*/old (
@@ -159,7 +160,7 @@
160161 );
161162
162163 CREATE TABLE /*$wgDBprefix*/site_stats (
163 - ss_row_id int(8) unsigned NOT NULL,
 164+ ss_row_id int(8) unsigned NOT NULL default '1',
164165 ss_total_views bigint(20) unsigned default '0',
165166 ss_total_edits bigint(20) unsigned default '0',
166167 ss_good_articles bigint(20) unsigned default '0',

Status & tagging log