Merge github.com:antirez/redis into unstable

This commit is contained in:
vattezhang
2019-04-26 18:47:11 +08:00
38 changed files with 1026 additions and 118 deletions

View File

@ -1197,7 +1197,7 @@ static int fetchClusterSlotsConfiguration(client c) {
assert(reply->type == REDIS_REPLY_ARRAY);
for (i = 0; i < reply->elements; i++) {
redisReply *r = reply->element[i];
assert(r->type = REDIS_REPLY_ARRAY);
assert(r->type == REDIS_REPLY_ARRAY);
assert(r->elements >= 3);
int from, to, slot;
from = r->element[0]->integer;