mirror of https://mirror.osredm.com/root/redis.git
msetnx reply error (#9061)
This commit is contained in:
parent
b8a5da80c4
commit
2727a2cec0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue