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
a3fb28ed
Commit
a3fb28ed
authored
Oct 09, 2018
by
zhaozhao.zz
Committed by
antirez
Oct 17, 2018
Browse files
Streams: rewrite id in XSTREAM CREATE *
parent
f4b4db13
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
a3fb28ed
...
...
@@ -1808,6 +1808,10 @@ NULL
s
->
last_id
=
id
;
dbAdd
(
c
->
db
,
c
->
argv
[
2
],
o
);
robj
*
idarg
=
createObjectFromStreamID
(
&
id
);
rewriteClientCommandArgument
(
c
,
3
,
idarg
);
decrRefCount
(
idarg
);
addReply
(
c
,
shared
.
ok
);
server
.
dirty
++
;
notifyKeyspaceEvent
(
NOTIFY_STREAM
,
"xstream-create"
,
...
...
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