Skip to content

Conversation

theyueli
Copy link
Contributor

@theyueli theyueli commented Aug 29, 2023

fixes #836

The example in #836 now produces the expected value:

127.0.0.1:6379> ZADD myzset 0 a 0 b 0 c 0 d 0 e 0 f 0 g
(integer) 7
127.0.0.1:6379> ZREVRANGEBYLEX myzset (c -
1) "b"
2) "a"

@theyueli theyueli changed the title fixing the wrong calculation of range.maxex (issue #836) Fixing the wrong calculation of range.maxex (issue #836) Aug 29, 2023
@theyueli theyueli changed the title Fixing the wrong calculation of range.maxex (issue #836) fix: correct the wrong calculation of range.maxex (issue #836) Aug 29, 2023
@theyueli theyueli changed the title fix: correct the wrong calculation of range.maxex (issue #836) fix (zset): correct the wrong calculation of range.maxex (issue #836) Aug 29, 2023
@theyueli theyueli changed the title fix (zset): correct the wrong calculation of range.maxex (issue #836) fix(zset): correct the wrong calculation of range.maxex Aug 29, 2023
@adiholden adiholden merged commit b6b7225 into dragonflydb:main Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZREVRANGEBYLEX exclusive range '(' is not working as expected
3 participants