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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-03-04 20:56:36 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-03-04 20:56:36 +0300
commit0c7b5f47711992905bcb08b984cc85be55a9c7e1 (patch)
tree41ef8b7cf1c3920c39d1d4c5a99d232c79e60fad /redis_cluster.c
parentd6756ca77fb7c5c60d3fccad396dc15610330d4c (diff)
parentc52077b7b04927c95b450494f39135cae11b58d9 (diff)
Merge branch 'issue.1087' into develop
Diffstat (limited to 'redis_cluster.c')
-rw-r--r--redis_cluster.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/redis_cluster.c b/redis_cluster.c
index 44c5e0e2..869434e4 100644
--- a/redis_cluster.c
+++ b/redis_cluster.c
@@ -126,6 +126,7 @@ zend_function_entry redis_cluster_functions[] = {
PHP_ME(RedisCluster, hmset, NULL, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, hdel, NULL, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, hincrbyfloat, NULL, ZEND_ACC_PUBLIC)
+ PHP_ME(RedisCluster, hstrlen, NULL, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, dump, NULL, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, zrank, NULL, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, zrevrank, NULL, ZEND_ACC_PUBLIC)
@@ -1468,6 +1469,13 @@ PHP_METHOD(RedisCluster, hmget) {
}
/* }}} */
+/* {{{ proto array RedisCluster::hstrlen(string key, string field) */
+PHP_METHOD(RedisCluster, hstrlen) {
+ CLUSTER_PROCESS_CMD(hstrlen, cluster_long_resp, 1);
+}
+/* }}} */
+
+
/* {{{ proto string RedisCluster::dump(string key) */
PHP_METHOD(RedisCluster, dump) {
CLUSTER_PROCESS_KW_CMD("DUMP", redis_key_cmd, cluster_bulk_raw_resp, 1);