mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
Merge pull request #5146 from 0xtonyxia/fix-xclaim-id-parse
Streams: ID of xclaim command should start from the sixth argument.
This commit is contained in:
commit
39c70e728b
@ -2015,7 +2015,7 @@ void xclaimCommand(client *c) {
|
|||||||
* the client successfully claimed some message, so it should be
|
* the client successfully claimed some message, so it should be
|
||||||
* executed in a "all or nothing" fashion. */
|
* executed in a "all or nothing" fashion. */
|
||||||
int j;
|
int j;
|
||||||
for (j = 4; j < c->argc; j++) {
|
for (j = 5; j < c->argc; j++) {
|
||||||
streamID id;
|
streamID id;
|
||||||
if (streamParseStrictIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break;
|
if (streamParseStrictIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user