Commit dbbc7285 authored by antirez's avatar antirez
Browse files

fix for ZRANGEBYSCORE

parent 50c55df5
......@@ -4128,7 +4128,7 @@ static void zrangebyscoreCommand(redisClient *c) {
lenobj = createObject(REDIS_STRING,NULL);
addReply(c,lenobj);
while(ln->score <= max) {
while(ln && ln->score <= max) {
ele = ln->obj;
addReplyBulkLen(c,ele);
addReply(c,ele);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment