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
020fe26b
Commit
020fe26b
authored
Nov 09, 2017
by
antirez
Browse files
Streams: fix COUNT parsing, issue #4433.
parent
abab0b78
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
020fe26b
...
...
@@ -785,7 +785,7 @@ void xrangeCommand(client *c) {
if (streamParseIDOrReply(c,c->argv[3],&endid,UINT64_MAX) == C_ERR) return;
/* Parse the COUNT option if any. */
if
(
c
->
argc
>
4
)
{
if (c->argc >
5
) {
if (strcasecmp(c->argv[4]->ptr,"COUNT") == 0) {
if (getLongLongFromObjectOrReply(c,c->argv[5],&count,NULL) != C_OK)
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