Reply for command args should be an array, not a set (#10188)

This commit is contained in:
guybe7 2022-01-26 11:49:24 +01:00 committed by GitHub
parent 7fdcada67b
commit c79389f032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4177,7 +4177,7 @@ void addReplyFlagsForArg(client *c, uint64_t flags) {
}
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++) {
/* Count our reply len so we don't have to use deferred reply. */
long maplen = 2;