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
5e26ae88
Commit
5e26ae88
authored
Apr 05, 2010
by
Pieter Noordhuis
Browse files
last argument is never encoded for HINCRBY
parent
4005fef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
5e26ae88
...
...
@@ -6037,10 +6037,7 @@ static void hincrbyCommand(redisClient *c) {
}
}
robj *o_incr = getDecodedObject(c->argv[3]);
incr = strtoll(o_incr->ptr, NULL, 10);
decrRefCount(o_incr);
incr = strtoll(c->argv[3]->ptr, NULL, 10);
if (o->encoding == REDIS_ENCODING_ZIPMAP) {
unsigned char *zm = o->ptr;
unsigned char *zval;
...
...
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