Commit e5fdd6b6 authored by antirez's avatar antirez
Browse files

RESP3: fix HMGET bug introduced with RESP3 changes.

parent 0652b05c
...@@ -693,7 +693,7 @@ void hmgetCommand(client *c) { ...@@ -693,7 +693,7 @@ void hmgetCommand(client *c) {
return; return;
} }
addReplyMapLen(c, c->argc-2); addReplyArrayLen(c, c->argc-2);
for (i = 2; i < c->argc; i++) { for (i = 2; i < c->argc; i++) {
addHashFieldToReply(c, o, c->argv[i]->ptr); addHashFieldToReply(c, o, c->argv[i]->ptr);
} }
......
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