Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0fe45d2

Browse files
Fix XAUTOCLAIM argc when sending COUNT
Add 2 to argc not 1 + count when sending a specific COUNT.
1 parent085d61e commit0fe45d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎redis_commands.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5795,7 +5795,7 @@ redis_xautoclaim_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
57955795
returnFAILURE;
57965796
}
57975797

5798-
argc=5+ (count>0 ?1+count :0)+justid;
5798+
argc=5+ (count>0 ?2 :0)+justid;
57995799

58005800
REDIS_CMD_INIT_SSTR_STATIC(&cmdstr,argc,"XAUTOCLAIM");
58015801
redis_cmd_append_sstr_key(&cmdstr,key,keylen,redis_sock,slot);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp