X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FSqlBagOStuff.php;h=2866a6c9cf680f75187b1c9a504395d60364c6c0;hb=1d680bbe923d2942dd7d08ed58d2a93f3ada0957;hp=a581ac8f8c59a73f09f42236579e6b374a9c2681;hpb=b6fecdf6feeb785a8d72c8467e25bcd30261baa5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index a581ac8f8c..2866a6c9cf 100644 --- a/includes/objectcache/SqlBagOStuff.php +++ b/includes/objectcache/SqlBagOStuff.php @@ -92,7 +92,9 @@ class SqlBagOStuff extends BagOStuff { * shards-1. The number of digits will be the minimum number * required to hold the largest shard index. Data will be * distributed across all tables by key hash. This is for - * MySQL bugs 61735 and 61736. + * MySQL bugs 61735 + * and 61736 . + * * - slaveOnly: Whether to only use replica DBs and avoid triggering * garbage collection logic of expired items. This only * makes sense if the primary DB is used and only if get() @@ -689,7 +691,7 @@ class SqlBagOStuff extends BagOStuff { $decomp = gzinflate( $serial ); Wikimedia\restoreWarnings(); - if ( false !== $decomp ) { + if ( $decomp !== false ) { $serial = $decomp; } }