mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Removed useless tryObjectEncoding() call from ZRANK.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user