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
5254c2d3
Commit
5254c2d3
authored
Jul 03, 2015
by
antirez
Browse files
Removed useless tryObjectEncoding() call from ZRANK.
parent
4160bf04
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
5254c2d3
...
...
@@ -2886,7 +2886,7 @@ void zrankGenericCommand(redisClient *c, int reverse) {
dictEntry *de;
double score;
ele = c->argv[2]
= tryObjectEncoding(c->argv[2])
;
ele = c->argv[2];
de = dictFind(zs->dict,ele);
if (de != NULL) {
score = *(double*)dictGetVal(de);
...
...
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