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
267f7f2c
Commit
267f7f2c
authored
Feb 18, 2018
by
antirez
Browse files
Streams: fix error description for XADD when specified ID is small.
parent
0a6780e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
267f7f2c
...
@@ -966,7 +966,7 @@ void xaddCommand(client *c) {
...
@@ -966,7 +966,7 @@ void xaddCommand(client *c) {
&
id
,
id_given
?
&
id
:
NULL
)
&
id
,
id_given
?
&
id
:
NULL
)
==
C_ERR
)
==
C_ERR
)
{
{
addReplyError
(
c
,
"The ID specified in XADD is smaller than the "
addReplyError
(
c
,
"The ID specified in XADD is
equal or
smaller than the "
"target stream top item"
);
"target stream top item"
);
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