aboutsummaryrefslogtreecommitdiffstats
path: root/includes/objectcache/SqlBagOStuff.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/objectcache/SqlBagOStuff.php')
-rw-r--r--includes/objectcache/SqlBagOStuff.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php
index 0650c529a1b0..cb40de92833e 100644
--- a/includes/objectcache/SqlBagOStuff.php
+++ b/includes/objectcache/SqlBagOStuff.php
@@ -1497,7 +1497,7 @@ class SqlBagOStuff extends MediumSpecificBagOStuff {
->deleteFrom( $this->getTableNameByShard( $tableIndex ) )
->where( [
'keyname' => $keys,
- $db->buildComparison( '<', [ 'exptime' => $db->timestamp( $cutoffUnix ) ] ),
+ $db->expr( 'exptime', '<', $db->timestamp( $cutoffUnix ) ),
] )
->caller( __METHOD__ )->execute();
$keysDeletedCount += $db->affectedRows();