Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
91d71bfc
Commit
91d71bfc
authored
Nov 20, 2009
by
antirez
Browse files
ZINCRBY return value fixed
parent
7db723ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
91d71bfc
...
...
@@ -4278,9 +4278,9 @@ static void zaddGenericCommand(redisClient *c, robj *key, robj *ele, double scor
incrRefCount(ele); /* added to skiplist */
server.dirty++;
if (doincrement)
addReply
(
c
,
shared
.
cone
);
else
addReplyDouble(c,*score);
else
addReply(c,shared.cone);
} else {
dictEntry *de;
double *oldscore;
...
...
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