Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZRANGE with LIMIT and COUNT=0 #1483

Closed
1 of 2 tasks
torwig opened this issue Jun 4, 2023 · 2 comments · Fixed by #1492
Closed
1 of 2 tasks

ZRANGE with LIMIT and COUNT=0 #1483

torwig opened this issue Jun 4, 2023 · 2 comments · Fixed by #1492
Assignees
Labels
bug type bug good first issue Good for newcomers

Comments

@torwig
Copy link
Contributor

torwig commented Jun 4, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Version

The latest unstable.

Minimal reproduce step

127.0.0.1:6666> zadd zset11 1 a 2 b 3 c 4 d 5 e 6 f 7 g
(integer) 7
127.0.0.1:6666> zrange zset11 0 6 byscore limit 0 0

What did you expect to see?

Redis:

127.0.0.1:6379> zadd zset11 1 a 2 b 3 c 4 d 5 e 6 f 7 g
(integer) 7
127.0.0.1:6379> zrange zset11 0 6 byscore limit 0 0
(empty array)

What did you see instead?

Kvrocks:

127.0.0.1:6666> zrange zset11 0 6 byscore limit 0 0
1) "a"
2) "b"
3) "c"
4) "d"
5) "e"
6) "f"

Anything Else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@torwig torwig added bug type bug good first issue Good for newcomers labels Jun 4, 2023
@infdahai
Copy link
Contributor

infdahai commented Jun 4, 2023

Let me take a look at this

@torwig
Copy link
Contributor Author

torwig commented Jun 4, 2023

@infdahai Assigned. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug type bug good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants