From 0bab706cdf6e2aba2ff8ffa308b2e94846b37c22 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 3 Jan 2012 15:14:35 +0000 Subject: [PATCH] Fix non reverted job_insert_timestamp Fixup timestamp addition per Roan Ping r107886 --- includes/job/JobQueue.php | 2 +- maintenance/tables.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/job/JobQueue.php b/includes/job/JobQueue.php index 1bc5d456cb..e7c66719fc 100644 --- a/includes/job/JobQueue.php +++ b/includes/job/JobQueue.php @@ -352,7 +352,7 @@ abstract class Job { 'job_cmd' => $this->command, 'job_namespace' => $this->title->getNamespace(), 'job_title' => $this->title->getDBkey(), - 'job_insert_timestamp' => wfTimestampNow(), + 'job_timestamp' => $dbw->timestamp(), 'job_params' => Job::makeBlob( $this->params ) ); } diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 3f7f1a327c..f43e613c7d 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1273,7 +1273,7 @@ CREATE TABLE /*_*/job ( ) /*$wgDBTableOptions*/; CREATE INDEX /*i*/job_cmd ON /*_*/job (job_cmd, job_namespace, job_title, job_params(128)); -CREATE INDEX /*i*/job_insert_timestamp ON /*_*/job(job_insert_timestamp); +CREATE INDEX /*i*/job_timestamp ON /*_*/job(job_timestamp); -- Details of updates to cached special pages -- 2.20.1