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
e18068d9
"doc/SetCommand.html" did not exist on "37be27653817f0c4c18d695ceea082e0bb7bf462"
Unverified
Commit
e18068d9
authored
Dec 25, 2020
by
Itamar Haber
Committed by
GitHub
Dec 25, 2020
Browse files
Use addReplyErrorObject with shared.syntaxerror (#8248)
parent
c4b52fc7
Changes
2
Show whitespace changes
Inline
Side-by-side
src/db.c
View file @
e18068d9
...
...
@@ -1208,7 +1208,7 @@ void copyCommand(client *c) {
selectDb
(
c
,
srcid
);
/* Back to the source DB */
j
++
;
/* Consume additional arg. */
}
else
{
addReply
(
c
,
shared
.
syntaxerr
);
addReply
ErrorObject
(
c
,
shared
.
syntaxerr
);
return
;
}
}
...
...
src/geo.c
View file @
e18068d9
...
...
@@ -620,7 +620,7 @@ void georadiusGeneric(client *c, int srcKeyIndex, int flags) {
bybox
=
1
;
i
+=
3
;
}
else
{
addReply
(
c
,
shared
.
syntaxerr
);
addReply
ErrorObject
(
c
,
shared
.
syntaxerr
);
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