Common case for genericSetKey() where the TTL is not retained. */
| 419 | |
| 420 | /* Common case for genericSetKey() where the TTL is not retained. */ |
| 421 | void setKey(client *c, redisDb *db, robj *key, robj *val) { |
| 422 | genericSetKey(c,db,key,val,0,1); |
| 423 | } |
| 424 | |
| 425 | /* Return a random key, in form of a Redis object. |
| 426 | * If there are no keys, NULL is returned. |
no test coverage detected