| 419 | } |
| 420 | |
| 421 | void getsetCommand(client *c) { |
| 422 | if (getGenericCommand(c) == C_ERR) return; |
| 423 | c->argv[2] = tryObjectEncoding(c->argv[2]); |
| 424 | setKey(c,c->db,c->argv[1],c->argv[2]); |
| 425 | notifyKeyspaceEvent(NOTIFY_STRING,"set",c->argv[1],c->db->id); |
| 426 | g_pserver->dirty++; |
| 427 | |
| 428 | /* Propagate as SET command */ |
| 429 | rewriteClientCommandArgument(c,0,shared.set); |
| 430 | } |
| 431 | |
| 432 | void setrangeCommand(client *c) { |
| 433 | robj *o; |
nothing calls this directly
no test coverage detected