| 411 | } |
| 412 | |
| 413 | void getsetCommand(client *c) { |
| 414 | if (getGenericCommand(c) == C_ERR) return; |
| 415 | c->argv[2] = tryObjectEncoding(c->argv[2]); |
| 416 | setKey(c,c->db,c->argv[1],c->argv[2]); |
| 417 | notifyKeyspaceEvent(NOTIFY_STRING,"set",c->argv[1],c->db->id); |
| 418 | server.dirty++; |
| 419 | |
| 420 | /* Propagate as SET command */ |
| 421 | rewriteClientCommandArgument(c,0,shared.set); |
| 422 | } |
| 423 | |
| 424 | void setrangeCommand(client *c) { |
| 425 | robj *o; |
nothing calls this directly
no test coverage detected