Skip to content

Commit 26aec4d

Browse files
michael-grunderyatsukhnenko
authored andcommitted
Allow sInterStore to take one arg (as it could be one array)
Addresses phpredis#748
1 parent 495e5df commit 26aec4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_commands.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,7 @@ int redis_sinterstore_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
29632963
char **cmd, int *cmd_len, short *slot, void **ctx)
29642964
{
29652965
return gen_varkey_cmd(INTERNAL_FUNCTION_PARAM_PASSTHRU, redis_sock,
2966-
"SINTERSTORE", sizeof("SINTERSTORE")-1, 2, 0, cmd, cmd_len, slot);
2966+
"SINTERSTORE", sizeof("SINTERSTORE")-1, 1, 0, cmd, cmd_len, slot);
29672967
}
29682968

29692969
/* SUNION */

0 commit comments

Comments
 (0)