mirror of https://mirror.osredm.com/root/redis.git
Reply for command args should be an array, not a set (#10188)
This commit is contained in:
parent
7fdcada67b
commit
c79389f032
|
@ -4177,7 +4177,7 @@ void addReplyFlagsForArg(client *c, uint64_t flags) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void addReplyCommandArgList(client *c, struct redisCommandArg *args, int num_args) {
|
void addReplyCommandArgList(client *c, struct redisCommandArg *args, int num_args) {
|
||||||
addReplySetLen(c, num_args);
|
addReplyArrayLen(c, num_args);
|
||||||
for (int j = 0; j<num_args; j++) {
|
for (int j = 0; j<num_args; j++) {
|
||||||
/* Count our reply len so we don't have to use deferred reply. */
|
/* Count our reply len so we don't have to use deferred reply. */
|
||||||
long maplen = 2;
|
long maplen = 2;
|
||||||
|
|
Loading…
Reference in New Issue