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-10-04 14:29:20 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-10-05 10:03:30 +0300
commitcb003239a6c50189fefb820eadbc51b3cf073006 (patch)
tree77997eba0bf1aa5069bedf5d951e165cf68734e4 /common.h
parentdee8a6b1f39180bd0cc078c77eb12bb097e1ab33 (diff)
Issue #1245
Move building `script` command logic to `redis_build_script_cmd` and use it in Redis and RedisCluster objects. Fix arginfo for `RedisCluster::script`. Fix memory leak in `cluster_raw_cmd` when `cluster_cmd_get_slot` fails.
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/common.h b/common.h
index 2bc34e7b..3d80d063 100644
--- a/common.h
+++ b/common.h
@@ -1060,15 +1060,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pubsub, 0, 0, 1)
#endif
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_script, 0, 0, 1)
- ZEND_ARG_INFO(0, cmd)
-#if PHP_VERSION_ID >= 50600
- ZEND_ARG_VARIADIC_INFO(0, args)
-#else
- ZEND_ARG_INFO(0, ...)
-#endif
-ZEND_END_ARG_INFO()
-
ZEND_BEGIN_ARG_INFO_EX(arginfo_slowlog, 0, 0, 1)
ZEND_ARG_INFO(0, arg)
ZEND_ARG_INFO(0, option)