提交 96d8b4ee 编写于 作者: A antirez

ZSCORE fixed, now returns NULL on missing key or missing element

上级 bbf44ecf
......@@ -4372,7 +4372,7 @@ static void zscoreCommand(redisClient *c) {
o = lookupKeyRead(c->db,c->argv[1]);
if (o == NULL) {
addReply(c,shared.czero);
addReply(c,shared.nullbulk);
return;
} else {
if (o->type != REDIS_ZSET) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册