Like lookupKeyReadWithFlags(), but does not use any flag, which is the * common case. */
| 149 | /* Like lookupKeyReadWithFlags(), but does not use any flag, which is the |
| 150 | * common case. */ |
| 151 | robj *lookupKeyRead(redisDb *db, robj *key) { |
| 152 | return lookupKeyReadWithFlags(db,key,LOOKUP_NONE); |
| 153 | } |
| 154 | |
| 155 | /* Lookup a key for write operations, and as a side effect, if needed, expires |
| 156 | * the key if its TTL is reached. |
no test coverage detected