Merge branch 'unstable' of github.com:/antirez/redis into unstable

This commit is contained in:
antirez
2018-06-14 18:11:04 +02:00
3 changed files with 4 additions and 5 deletions

View File

@ -480,8 +480,7 @@ void existsCommand(client *c) {
int j;
for (j = 1; j < c->argc; j++) {
expireIfNeeded(c->db,c->argv[j]);
if (dbExists(c->db,c->argv[j])) count++;
if (lookupKeyRead(c->db,c->argv[j])) count++;
}
addReplyLongLong(c,count);
}