| 735 | } |
| 736 | |
| 737 | void randomkeyCommand(client *c) { |
| 738 | robj *key; |
| 739 | |
| 740 | if ((key = dbRandomKey(c->db)) == NULL) { |
| 741 | addReplyNull(c); |
| 742 | return; |
| 743 | } |
| 744 | |
| 745 | addReplyBulk(c,key); |
| 746 | decrRefCount(key); |
| 747 | } |
| 748 | |
| 749 | void keysCommand(client *c) { |
| 750 | dictIterator *di; |
nothing calls this directly
no test coverage detected