Index: branches/REL1_18/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -969,8 +969,10 @@ |
970 | 970 | } else { |
971 | 971 | # This is a new file |
972 | 972 | # Update the image count |
| 973 | + $dbw->begin(); |
973 | 974 | $site_stats = $dbw->tableName( 'site_stats' ); |
974 | 975 | $dbw->query( "UPDATE $site_stats SET ss_images=ss_images+1", __METHOD__ ); |
| 976 | + $dbw->commit(); |
975 | 977 | } |
976 | 978 | |
977 | 979 | $descTitle = $this->getTitle(); |
Property changes on: branches/REL1_18/phase3/includes/filerepo/LocalFile.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
978 | 980 | Merged /branches/sqlite/includes/filerepo/LocalFile.php:r58211-58321 |
979 | 981 | Merged /trunk/phase3/includes/filerepo/LocalFile.php:r92634,92762,92791,92854,92958,93141,93303 |
980 | 982 | Merged /branches/new-installer/phase3/includes/filerepo/LocalFile.php:r43664-66004 |
981 | 983 | Merged /branches/wmf-deployment/includes/filerepo/LocalFile.php:r53381 |
982 | 984 | Merged /branches/wmf/1.17wmf1/includes/filerepo/LocalFile.php:r94252 |
983 | 985 | Merged /branches/REL1_15/phase3/includes/filerepo/LocalFile.php:r51646 |