Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
97e1f681
Commit
97e1f681
authored
Jun 08, 2018
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
2268d7e5
66c6218a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
97e1f681
...
@@ -1783,8 +1783,10 @@ void xpendingCommand(client *c) {
...
@@ -1783,8 +1783,10 @@ void xpendingCommand(client *c) {
/* If a consumer name was mentioned but it does not exist, we can
/* If a consumer name was mentioned but it does not exist, we can
* just return an empty array. */
* just return an empty array. */
if (consumername && consumer == NULL)
if (consumername && consumer == NULL)
{
addReplyMultiBulkLen(c,0);
addReplyMultiBulkLen(c,0);
return;
}
rax *pel = consumer ? consumer->pel : group->pel;
rax *pel = consumer ? consumer->pel : group->pel;
unsigned char startkey[sizeof(streamID)];
unsigned char startkey[sizeof(streamID)];
...
...
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