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:
e46cf61
)
Made LocalFileMoveBatch::addOlds use SH locks instead of EX ones
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 7 Oct 2014 21:15:57 +0000
(14:15 -0700)
committer
Ori.livneh
<ori@wikimedia.org>
Thu, 9 Oct 2014 22:50:26 +0000
(22:50 +0000)
Change-Id: I928f98deded6e71b4b1e63167ca8b565e39c6394
includes/filerepo/file/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index
8824b66
..
6ca19fe
100644
(file)
--- a/
includes/filerepo/file/LocalFile.php
+++ b/
includes/filerepo/file/LocalFile.php
@@
-2797,7
+2797,7
@@
class LocalFileMoveBatch {
array( 'oi_archive_name', 'oi_deleted' ),
array( 'oi_name' => $this->oldName ),
__METHOD__,
- array( '
FOR UPDAT
E' ) // ignore snapshot
+ array( '
LOCK IN SHARE MOD
E' ) // ignore snapshot
);
foreach ( $result as $row ) {