r108730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108729‎ | r108730 | r108731 >
Date:17:10, 12 January 2012
Author:overlordq
Status:ok
Tags:
Comment:
Followup to whatever revision added us_chunk_inx
Modified paths:
  • /trunk/phase3/includes/installer/PostgresUpdater.php (modified) (history)
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -371,6 +371,7 @@
372372 us_source_type TEXT,
373373 us_timestamp TIMESTAMPTZ,
374374 us_status TEXT,
 375+ us_chunk_inx INTEGER NULL,
375376 us_size INTEGER,
376377 us_sha1 TEXT,
377378 us_mime TEXT,
Index: trunk/phase3/includes/installer/PostgresUpdater.php
@@ -116,6 +116,7 @@
117117 array( 'addPgField', 'interwiki', 'iw_wikiid', "TEXT NOT NULL DEFAULT ''"),
118118 array( 'addPgField', 'revision', 'rev_sha1', "TEXT NOT NULL DEFAULT ''" ),
119119 array( 'addPgField', 'archive', 'ar_sha1', "TEXT NOT NULL DEFAULT ''" ),
 120+ array( 'addPgField', 'uploadstash', 'us_chunk_inx', "INTEGER NULL" ),
120121
121122 # type changes
122123 array( 'changeField', 'archive', 'ar_deleted', 'smallint', '' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104687Use database to track uploaded chunks and concatenate at the end....j14:56, 30 November 2011

Status & tagging log