dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Make wfForeignMemcKey consistent with wfMemcKey"
[lhc/web/wiklou.git]
/
includes
/
DeferredUpdates.php
diff --git
a/includes/DeferredUpdates.php
b/includes/DeferredUpdates.php
index
b4989a6
..
89c4df6
100644
(file)
--- a/
includes/DeferredUpdates.php
+++ b/
includes/DeferredUpdates.php
@@
-34,7
+34,7
@@
interface DeferrableUpdate {
}
/**
}
/**
- * Class for mana
n
ging the deferred updates.
+ * Class for managing the deferred updates.
*
* @since 1.19
*/
*
* @since 1.19
*/
@@
-66,7
+66,7
@@
class DeferredUpdates {
/**
* Do any deferred updates and clear the list
*
/**
* Do any deferred updates and clear the list
*
- * @param
$commit String:
set to 'commit' to commit after every update to
+ * @param
string $commit
set to 'commit' to commit after every update to
* prevent lock contention
*/
public static function doUpdates( $commit = '' ) {
* prevent lock contention
*/
public static function doUpdates( $commit = '' ) {
@@
-92,7
+92,7
@@
class DeferredUpdates {
$update->doUpdate();
if ( $doCommit && $dbw->trxLevel() ) {
$update->doUpdate();
if ( $doCommit && $dbw->trxLevel() ) {
- $dbw->commit( __METHOD__ );
+ $dbw->commit( __METHOD__
, 'flush'
);
}
} catch ( MWException $e ) {
// We don't want exceptions thrown during deferred updates to
}
} catch ( MWException $e ) {
// We don't want exceptions thrown during deferred updates to