diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-04 19:11:01 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:32:55 +0300 |
commit | 9974c849010fb53428cc132262aff1274a4fe423 (patch) | |
tree | a6b16cb71e00b8fc5a6cc8c17fe232599db8093d /cluster_library.c | |
parent | 7c31b07e61ebd55965c4663214c42b031297a90f (diff) |
Fixed cluster_long_resp and added increment/decrement commands
We were using RETURN_TRUE instead of RETURN_LONG in
cluster_long_resp, which was wrong.
Added/tested INCR/DECR/INCRBY/DECRBY/INCRBYFLOAT
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c index 08f863fb..1eaec3d0 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -1055,7 +1055,7 @@ PHPAPI void cluster_long_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster *c) if(c->reply_type != TYPE_INT) { RETURN_FALSE; } - RETURN_TRUE; + RETURN_LONG(c->reply_len); } /* TYPE response handler */ |