| 641 | } |
| 642 | |
| 643 | int zslLexValueLteMax(sds value, zlexrangespec *spec) { |
| 644 | return spec->maxex ? |
| 645 | (sdscmplex(value,spec->max) < 0) : |
| 646 | (sdscmplex(value,spec->max) <= 0); |
| 647 | } |
| 648 | |
| 649 | /* Returns if there is a part of the zset is in the lex range. */ |
| 650 | int zslIsInLexRange(zskiplist *zsl, zlexrangespec *range) { |
no test coverage detected