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>2014-07-12 20:37:09 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:04:12 +0300
commit03082de7b4b3c6bcd5a0bfecf958b912ef19999c (patch)
treefe8db27d94ce3cd3d6b5946568cc43004b1964af /cluster_library.c
parent65947466164f08460055d71484f9916542bbe9da (diff)
COMMAND command
Implement the new COMMAND command in Redis for both cluster and non cluster classes. This command is really more of a debug tool but should actually be useful for updating the unit tests as we can now simply detect which commands do and don't exist, etc.
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 833e33ec..1619af2b 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -132,7 +132,6 @@ cluster_multibulk_resp_recursive(RedisSock *sock, size_t elements,
*err = 1;
return;
}
- r->str = estrndup(buf,r->len);
break;
case TYPE_INT:
r->integer = len;