| 268 | } |
| 269 | |
| 270 | void setnxCommand(client *c) { |
| 271 | c->argv[2] = tryObjectEncoding(c->argv[2]); |
| 272 | setGenericCommand(c,OBJ_SET_NX,c->argv[1],c->argv[2],NULL,0,shared.cone,shared.czero); |
| 273 | } |
| 274 | |
| 275 | void setexCommand(client *c) { |
| 276 | c->argv[3] = tryObjectEncoding(c->argv[3]); |
nothing calls this directly
no test coverage detected