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
185e0d9c
Commit
185e0d9c
authored
Jul 16, 2018
by
antirez
Browse files
Modify XINFO field from last-id to last-generated-id.
Related to #5129.
parent
4215e74b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
185e0d9c
...
@@ -2301,7 +2301,7 @@ NULL
...
@@ -2301,7 +2301,7 @@ NULL
addReplyLongLong
(
c
,
s
->
rax
->
numnodes
);
addReplyLongLong
(
c
,
s
->
rax
->
numnodes
);
addReplyStatus
(
c
,
"groups"
);
addReplyStatus
(
c
,
"groups"
);
addReplyLongLong
(
c
,
s
->
cgroups
?
raxSize
(
s
->
cgroups
)
:
0
);
addReplyLongLong
(
c
,
s
->
cgroups
?
raxSize
(
s
->
cgroups
)
:
0
);
addReplyStatus
(
c
,
"last-id"
);
addReplyStatus
(
c
,
"last-
generated-
id"
);
addReplyStreamID
(
c
,
&
s
->
last_id
);
addReplyStreamID
(
c
,
&
s
->
last_id
);
/* To emit the first/last entry we us the streamReplyWithRange()
/* To emit the first/last entry we us the streamReplyWithRange()
...
...
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