1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-05 01:01:04 +00:00

fix for ZRANGEBYSCORE

This commit is contained in:
antirez 2009-10-26 23:06:19 +01:00
parent 50c55df529
commit dbbc7285ee

@ -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);