Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585153
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
681 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php
index 80e456f32a8..c4d00ef2847 100644
--- a/includes/objectcache/SqlBagOStuff.php
+++ b/includes/objectcache/SqlBagOStuff.php
@@ -1595,7 +1595,7 @@ class SqlBagOStuff extends MediumSpecificBagOStuff {
// `( 9 / 10 ) + ( 0.3 / 10 ) = 0.93`, or 93% done, overall.
$overallRatio = ( $progress['serversDone'] / $progress['serversTotal'] ) +
( $tablesDoneRatio / $progress['serversTotal'] );
- ( $progress['fn'] )( $overallRatio * 100 );
+ ( $progress['fn'] )( (int)( $overallRatio * 100 ) );
}
} while ( $res->numRows() && $keysDeletedCount < $limit );
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:32 AM (12 h, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227567
Default Alt Text
(681 B)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment