mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm
This commit is contained in:
parent
cc81236105
commit
0aad7a1938
2
redis.c
2
redis.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);
|
||||||
|
Loading…
Reference in New Issue
Block a user