Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
dbbc7285
Commit
dbbc7285
authored
Oct 26, 2009
by
antirez
Browse files
fix for ZRANGEBYSCORE
parent
50c55df5
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
dbbc7285
...
@@ -4128,7 +4128,7 @@ static void zrangebyscoreCommand(redisClient *c) {
...
@@ -4128,7 +4128,7 @@ static void zrangebyscoreCommand(redisClient *c) {
lenobj = createObject(REDIS_STRING,NULL);
lenobj = createObject(REDIS_STRING,NULL);
addReply(c,lenobj);
addReply(c,lenobj);
while
(
ln
->
score
<=
max
)
{
while(ln
&& ln
->score <= max) {
ele = ln->obj;
ele = ln->obj;
addReplyBulkLen(c,ele);
addReplyBulkLen(c,ele);
addReply(c,ele);
addReply(c,ele);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment