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
2727a2ce
Unverified
Commit
2727a2ce
authored
Jun 14, 2021
by
fishsalter
Committed by
GitHub
Jun 13, 2021
Browse files
msetnx reply error (#9061)
parent
b8a5da80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_string.c
View file @
2727a2ce
...
@@ -549,7 +549,8 @@ void msetGenericCommand(client *c, int nx) {
...
@@ -549,7 +549,8 @@ void msetGenericCommand(client *c, int nx) {
int j;
int j;
if ((c->argc % 2) == 0) {
if ((c->argc % 2) == 0) {
addReplyError
(
c
,
"wrong number of arguments for MSET"
);
addReplyErrorFormat(c,"wrong number of arguments for '%s' command",
c->cmd->name);
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