提交 5254c2d3 编写于 作者: A antirez

Removed useless tryObjectEncoding() call from ZRANK.

上级 4160bf04
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册