Unverified Commit c79389f0 authored by guybe7's avatar guybe7 Committed by GitHub
Browse files

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

parent 7fdcada6
...@@ -4177,7 +4177,7 @@ void addReplyFlagsForArg(client *c, uint64_t flags) { ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment