Commit a3fb28ed authored by zhaozhao.zz's avatar zhaozhao.zz Committed by antirez
Browse files

Streams: rewrite id in XSTREAM CREATE *

parent f4b4db13
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment