diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-10-04 14:29:20 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-10-05 10:03:30 +0300 |
commit | cb003239a6c50189fefb820eadbc51b3cf073006 (patch) | |
tree | 77997eba0bf1aa5069bedf5d951e165cf68734e4 /common.h | |
parent | dee8a6b1f39180bd0cc078c77eb12bb097e1ab33 (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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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) |