| 3788 | } |
| 3789 | |
| 3790 | void zscanCommand(client *c) { |
| 3791 | robj *o; |
| 3792 | unsigned long cursor; |
| 3793 | |
| 3794 | if (parseScanCursorOrReply(c,c->argv[2],&cursor) == C_ERR) return; |
| 3795 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL || |
| 3796 | checkType(c,o,OBJ_ZSET)) return; |
| 3797 | scanGenericCommand(c,o,cursor); |
| 3798 | } |
| 3799 | |
| 3800 | /* This command implements the generic zpop operation, used by: |
| 3801 | * ZPOPMIN, ZPOPMAX, BZPOPMIN and BZPOPMAX. This function is also used |
nothing calls this directly
no test coverage detected