r59720 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59719‎ | r59720 | r59721 >
Date:03:01, 4 December 2009
Author:tstarling
Status:ok
Tags:
Comment:
Update patch-job.sql for r57610 and documentation updates.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-job.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-job.sql
@@ -1,9 +1,9 @@
2 -
32 -- Jobs performed by parallel apache threads or a command-line daemon
4 -CREATE TABLE /*$wgDBprefix*/job (
5 - job_id int unsigned NOT NULL auto_increment,
 3+CREATE TABLE /*_*/job (
 4+ job_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
65
7 - -- Command name, currently only refreshLinks is defined
 6+ -- Command name
 7+ -- Limited to 60 to prevent key length overflow
88 job_cmd varbinary(60) NOT NULL default '',
99
1010 -- Namespace and title to act on
@@ -12,9 +12,9 @@
1313 job_title varchar(255) binary NOT NULL,
1414
1515 -- Any other parameters to the command
16 - -- Presently unused, format undefined
17 - job_params blob NOT NULL,
 16+ -- Stored as a PHP serialized array, or an empty string if there are no parameters
 17+ job_params blob NOT NULL
 18+) /*$wgDBTableOptions*/;
1819
19 - PRIMARY KEY job_id (job_id),
20 - KEY (job_cmd, job_namespace, job_title)
21 -) /*$wgDBTableOptions*/;
 20+CREATE INDEX /*i*/job_cmd ON /*_*/job (job_cmd, job_namespace, job_title, job_params(128));
 21+

Follow-up revisions

RevisionCommit summaryAuthorDate
r59721Merged r59720, patch-job.sql update, for use by a job queue fixup script I'm ...tstarling03:03, 4 December 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57610adding partial job_param to job_cmd indexmidom09:14, 10 October 2009

Status & tagging log