dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f6f769
)
[JobQueue] Added __METHOD__ to delete() call.
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 6 Dec 2012 23:41:31 +0000
(15:41 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 6 Dec 2012 23:41:31 +0000
(15:41 -0800)
Change-Id: If2644e2d0ef12b6ad68b7229f1e60a3d50fc139d
includes/job/JobQueueDB.php
patch
|
blob
|
history
diff --git
a/includes/job/JobQueueDB.php
b/includes/job/JobQueueDB.php
index
3e057eb
..
9f31060
100644
(file)
--- a/
includes/job/JobQueueDB.php
+++ b/
includes/job/JobQueueDB.php
@@
-372,7
+372,8
@@
class JobQueueDB extends JobQueue {
$dbw->commit( __METHOD__, 'flush' ); // flush existing transaction
// Delete a row with a single DELETE without holding row locks over RTTs...
- $dbw->delete( 'job', array( 'job_cmd' => $this->type, 'job_id' => $job->getId() ) );
+ $dbw->delete( 'job',
+ array( 'job_cmd' => $this->type, 'job_id' => $job->getId() ), __METHOD__ );
return true;
}