Fix review comments
This commit is contained in:
parent
5b253d89c7
commit
ab30060a6e
@ -217,7 +217,6 @@ static void *createIntegerObject(const redisReadTask *task, long long value) {
|
|||||||
parent->type == REDIS_REPLY_MAP ||
|
parent->type == REDIS_REPLY_MAP ||
|
||||||
parent->type == REDIS_REPLY_ATTR ||
|
parent->type == REDIS_REPLY_ATTR ||
|
||||||
parent->type == REDIS_REPLY_SET ||
|
parent->type == REDIS_REPLY_SET ||
|
||||||
parent->type == REDIS_REPLY_SET ||
|
|
||||||
parent->type == REDIS_REPLY_PUSH);
|
parent->type == REDIS_REPLY_PUSH);
|
||||||
parent->element[task->idx] = r;
|
parent->element[task->idx] = r;
|
||||||
}
|
}
|
||||||
|
|||||||
2
read.c
2
read.c
@ -646,7 +646,7 @@ static int processItem(redisReader *r) {
|
|||||||
return processBulkItem(r);
|
return processBulkItem(r);
|
||||||
case REDIS_REPLY_ARRAY:
|
case REDIS_REPLY_ARRAY:
|
||||||
case REDIS_REPLY_MAP:
|
case REDIS_REPLY_MAP:
|
||||||
case REDIS_REPLY_ATTR:
|
case REDIS_REPLY_ATTR:
|
||||||
case REDIS_REPLY_SET:
|
case REDIS_REPLY_SET:
|
||||||
case REDIS_REPLY_PUSH:
|
case REDIS_REPLY_PUSH:
|
||||||
return processAggregateItem(r);
|
return processAggregateItem(r);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user