Commit 0aad7a19 authored by antirez's avatar antirez
Browse files

zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm

parent cc812361
...@@ -3865,7 +3865,7 @@ static void zrangeCommand(redisClient *c) { ...@@ -3865,7 +3865,7 @@ static void zrangeCommand(redisClient *c) {
addReplySds(c,sdscatprintf(sdsempty(),"*%d\r\n",rangelen)); addReplySds(c,sdscatprintf(sdsempty(),"*%d\r\n",rangelen));
for (j = 0; j < rangelen; j++) { for (j = 0; j < rangelen; j++) {
ele = ln->forward[0]->obj; ele = ln->obj;
addReplyBulkLen(c,ele); addReplyBulkLen(c,ele);
addReply(c,ele); addReply(c,ele);
addReply(c,shared.crlf); addReply(c,shared.crlf);
......
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