Merge "Fix SqlBagOStuff exptime uniqueness assumption"
[lhc/web/wiklou.git] / includes / objectcache / SqlBagOStuff.php
index a4a6ba8..6c10301 100644 (file)
@@ -588,7 +588,7 @@ class SqlBagOStuff extends BagOStuff {
                                        while ( true ) {
                                                $conds = $baseConds;
                                                if ( $maxExpTime !== false ) {
-                                                       $conds[] = 'exptime > ' . $db->addQuotes( $maxExpTime );
+                                                       $conds[] = 'exptime >= ' . $db->addQuotes( $maxExpTime );
                                                }
                                                $rows = $db->select(
                                                        $this->getTableNameByShard( $i ),