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:
c51517b
)
Flush any implicit transactions in RecentChangesUpdateJob
author
Marius Hoch
<hoo@online.de>
Wed, 18 Feb 2015 08:44:05 +0000
(09:44 +0100)
committer
Marius Hoch
<hoo@online.de>
Wed, 18 Feb 2015 08:44:05 +0000
(09:44 +0100)
Bug: T89806
Change-Id: Ibd71966225de3dfb392002fc3fd181b2ff521b9d
includes/jobqueue/jobs/RecentChangesUpdateJob.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/jobs/RecentChangesUpdateJob.php
b/includes/jobqueue/jobs/RecentChangesUpdateJob.php
index
236b4d4
..
b54ecfd
100644
(file)
--- a/
includes/jobqueue/jobs/RecentChangesUpdateJob.php
+++ b/
includes/jobqueue/jobs/RecentChangesUpdateJob.php
@@
-76,6
+76,8
@@
class RecentChangesUpdateJob extends Job {
if ( $rcIds ) {
$dbw->delete( 'recentchanges', array( 'rc_id' => $rcIds ), __METHOD__ );
}
+ // No need for this to be in a transaction.
+ $dbw->commit( __METHOD__, 'flush' );
} while ( $rcIds );
$dbw->unlock( $lockKey, __METHOD__ );