Common case for genericSetKey() where the TTL is not retained. */
| 269 | |
| 270 | /* Common case for genericSetKey() where the TTL is not retained. */ |
| 271 | void setKey(client *c, redisDb *db, robj *key, robj *val) { |
| 272 | genericSetKey(c,db,key,val,0,1); |
| 273 | } |
| 274 | |
| 275 | /* Return a random key, in form of a Redis object. |
| 276 | * If there are no keys, NULL is returned. |
no test coverage detected