Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e5fdd6b6
Commit
e5fdd6b6
authored
Dec 03, 2018
by
antirez
Browse files
RESP3: fix HMGET bug introduced with RESP3 changes.
parent
0652b05c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_hash.c
View file @
e5fdd6b6
...
@@ -693,7 +693,7 @@ void hmgetCommand(client *c) {
...
@@ -693,7 +693,7 @@ void hmgetCommand(client *c) {
return
;
return
;
}
}
addReply
Map
Len
(
c
,
c
->
argc
-
2
);
addReply
Array
Len
(
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment