mirror of
https://github.com/fluencelabs/redis
synced 2025-04-11 03:36:05 +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;
|
s->last_id = id;
|
||||||
dbAdd(c->db,c->argv[2],o);
|
dbAdd(c->db,c->argv[2],o);
|
||||||
|
|
||||||
|
robj *idarg = createObjectFromStreamID(&id);
|
||||||
|
rewriteClientCommandArgument(c,3,idarg);
|
||||||
|
decrRefCount(idarg);
|
||||||
|
|
||||||
addReply(c,shared.ok);
|
addReply(c,shared.ok);
|
||||||
server.dirty++;
|
server.dirty++;
|
||||||
notifyKeyspaceEvent(NOTIFY_STREAM,"xstream-create",
|
notifyKeyspaceEvent(NOTIFY_STREAM,"xstream-create",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user