diff options
Diffstat (limited to 'src/object.c')
-rw-r--r-- | src/object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object.c b/src/object.c index 2f99e1414..e521e5dab 100644 --- a/src/object.c +++ b/src/object.c @@ -475,6 +475,7 @@ unsigned long estimateObjectIdleTime(robj *o) { robj *objectCommandLookup(redisClient *c, robj *key) { dictEntry *de; + if (server.vm_enabled) lookupKeyRead(c->db,key); if ((de = dictFind(c->db->dict,key->ptr)) == NULL) return NULL; return (robj*) dictGetEntryVal(de); } |