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
0aad7a19
Commit
0aad7a19
authored
Oct 23, 2009
by
antirez
Browse files
zrange now starts to work. zadd still does not support update and will crash or leak or b000mmmmm
parent
cc812361
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
0aad7a19
...
...
@@ -3865,7 +3865,7 @@ static void zrangeCommand(redisClient *c) {
addReplySds
(
c
,
sdscatprintf
(
sdsempty
(),
"*%d
\r\n
"
,
rangelen
));
for
(
j
=
0
;
j
<
rangelen
;
j
++
)
{
ele
=
ln
->
forward
[
0
]
->
obj
;
ele
=
ln
->
obj
;
addReplyBulkLen
(
c
,
ele
);
addReply
(
c
,
ele
);
addReply
(
c
,
shared
.
crlf
);
...
...
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