| 275 | } |
| 276 | |
| 277 | void setnxCommand(client *c) { |
| 278 | c->argv[2] = tryObjectEncoding(c->argv[2]); |
| 279 | setGenericCommand(c,OBJ_SET_NX,c->argv[1],c->argv[2],NULL,0,shared.cone,shared.czero); |
| 280 | } |
| 281 | |
| 282 | void setexCommand(client *c) { |
| 283 | c->argv[3] = tryObjectEncoding(c->argv[3]); |
nothing calls this directly
no test coverage detected