Index: branches/wmf/1.19wmf1/includes/filerepo/file/LocalFile.php |
— | — | @@ -1408,7 +1408,8 @@ |
1409 | 1409 | $this->locked++; |
1410 | 1410 | } |
1411 | 1411 | |
1412 | | - return $dbw->selectField( 'image', '1', array( 'img_name' => $this->getName() ), __METHOD__ ); |
| 1412 | + return $dbw->selectField( 'image', '1', |
| 1413 | + array( 'img_name' => $this->getName() ), __METHOD__, array( 'FOR UPDATE' ) ); |
1413 | 1414 | } |
1414 | 1415 | |
1415 | 1416 | /** |
Property changes on: branches/wmf/1.19wmf1/includes |
___________________________________________________________________ |
Modified: svn:mergeinfo |
1416 | 1417 | Merged /trunk/phase3/includes:r114228 |
Property changes on: branches/wmf/1.19wmf1 |
___________________________________________________________________ |
Modified: svn:mergeinfo |
1417 | 1418 | Merged /trunk/phase3:r114228 |