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