Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2016-02-08 20:46:04 +0300
committermichael-grunder <michael.grunder@gmail.com>2016-02-08 20:46:04 +0300
commitf24fc9fe99d9b7f7ee21feb8159fa35b2a448f07 (patch)
tree0cd507f7cf0871762ba54e53c2bac525e5602cd5
parentbeba562ca4720bca6bc795caf014dc31bc2158a0 (diff)
Allow sInterStore to take one arg (as it could be one array)
Addresses #748
-rw-r--r--redis_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_commands.c b/redis_commands.c
index 19bac16c..cdc8b705 100644
--- a/redis_commands.c
+++ b/redis_commands.c
@@ -2769,7 +2769,7 @@ int redis_sinterstore_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char **cmd, int *cmd_len, short *slot, void **ctx)
{
return gen_varkey_cmd(INTERNAL_FUNCTION_PARAM_PASSTHRU, redis_sock,
- "SINTERSTORE", sizeof("SINTERSTORE")-1, 2, 0, cmd, cmd_len, slot);
+ "SINTERSTORE", sizeof("SINTERSTORE")-1, 1, 0, cmd, cmd_len, slot);
}
/* SUNION */