This is a helper function for the OBJECT command. We need to lookup keys * without any modification of LRU or other parameters. */
| 1324 | /* This is a helper function for the OBJECT command. We need to lookup keys |
| 1325 | * without any modification of LRU or other parameters. */ |
| 1326 | robj_roptr objectCommandLookup(client *c, robj *key) { |
| 1327 | return c->db->find(key); |
| 1328 | } |
| 1329 | |
| 1330 | robj_roptr objectCommandLookupOrReply(client *c, robj *key, robj *reply) { |
| 1331 | robj_roptr o = objectCommandLookup(c,key); |
no test coverage detected