r48481 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48480‎ | r48481 | r48482 >
Date:08:37, 17 March 2009
Author:tstarling
Status:ok
Tags:
Comment:
No it is not a FIFO, what's your point?
Modified paths:
  • /trunk/phase3/includes/JobQueue.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/JobQueue.php
@@ -126,7 +126,6 @@
127127 if ( !$affected ) {
128128 // Failed, someone else beat us to it
129129 // Try getting a random row
130 - // FIXME: FIFO???
131130 $row = $dbw->selectRow( 'job', array( 'MIN(job_id) as minjob',
132131 'MAX(job_id) as maxjob' ), '1=1', __METHOD__ );
133132 if ( $row === false || is_null( $row->minjob ) || is_null( $row->maxjob ) ) {

Status & tagging log