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
baf8a39f
Commit
baf8a39f
authored
Aug 18, 2020
by
Madelyn Olson
Browse files
Fixed hset error since it's shared with hmset
parent
99e6e732
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_hash.c
View file @
baf8a39f
...
@@ -532,7 +532,7 @@ void hsetCommand(client *c) {
...
@@ -532,7 +532,7 @@ void hsetCommand(client *c) {
robj
*
o
;
robj
*
o
;
if
((
c
->
argc
%
2
)
==
1
)
{
if
((
c
->
argc
%
2
)
==
1
)
{
addReplyError
(
c
,
"wrong number of arguments for
HMSET"
);
addReplyError
Format
(
c
,
"wrong number of arguments for
'%s' command"
,
c
->
argv
[
0
]
->
ptr
);
return
;
return
;
}
}
...
...
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