mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Streams: rewrite id in XSTREAM CREATE *
This commit is contained in:
parent
3094eb3626
commit
480e299436
@ -1779,6 +1779,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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user