diff options
author | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-07-19 20:48:08 +0800 |
---|---|---|
committer | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-07-19 20:48:08 +0800 |
commit | de5ca516aed4065e7b7e05d692996cfc028b0f32 (patch) | |
tree | b02385add4281b41adc24bb648f54a7871b67c3d | |
parent | 1c95c075966407729648fe676883a75be638824c (diff) | |
download | redis-de5ca516aed4065e7b7e05d692996cfc028b0f32.tar.gz |
Streams: ID of xclaim command starts from the sixth argument.
-rw-r--r-- | src/t_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_stream.c b/src/t_stream.c index 201509c7e..abef73c43 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -1988,7 +1988,7 @@ void xclaimCommand(client *c) { * the client successfully claimed some message, so it should be * executed in a "all or nothing" fashion. */ int j; - for (j = 4; j < c->argc; j++) { + for (j = 5; j < c->argc; j++) { streamID id; if (streamParseIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break; } |