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:
d25cb99
)
Remove negative caching from Revision::getContentInternal
author
Jackmcbarn
<jackmcbarn@gmail.com>
Tue, 14 Oct 2014 00:48:46 +0000
(20:48 -0400)
committer
Jackmcbarn
<jackmcbarn@gmail.com>
Tue, 14 Oct 2014 00:50:19 +0000
(20:50 -0400)
Negative caching in Revision::getContent can cause race conditions, so
stop doing it.
Bug: 71545
Change-Id: Iac32b2d4f90c4c1ce37820288f757e47b6d895e7
includes/Revision.php
patch
|
blob
|
history
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
5b39a41
..
e81ed75
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-1060,8
+1060,6
@@
class Revision implements IDBAccessObject {
$format = $this->getContentFormat();
$this->mContent = $handler->unserializeContent( $this->mText, $format );
- } else {
- $this->mContent = false; // negative caching!
}
}