| 804 | } |
| 805 | |
| 806 | void hgetCommand(client *c) { |
| 807 | robj *o; |
| 808 | |
| 809 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.null[c->resp])) == NULL || |
| 810 | checkType(c,o,OBJ_HASH)) return; |
| 811 | |
| 812 | addHashFieldToReply(c, o, c->argv[2]->ptr); |
| 813 | } |
| 814 | |
| 815 | void hmgetCommand(client *c) { |
| 816 | robj *o; |
nothing calls this directly
no test coverage detected