This is a helper function for the OBJECT command. We need to lookup keys * without any modification of LRU or other parameters. */
| 1241 | /* This is a helper function for the OBJECT command. We need to lookup keys |
| 1242 | * without any modification of LRU or other parameters. */ |
| 1243 | robj *objectCommandLookup(client *c, robj *key) { |
| 1244 | return lookupKeyReadWithFlags(c->db,key,LOOKUP_NOTOUCH|LOOKUP_NONOTIFY); |
| 1245 | } |
| 1246 | |
| 1247 | robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) { |
| 1248 | robj *o = objectCommandLookup(c,key); |
no test coverage detected