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>2018-04-22 22:22:09 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-04-22 22:26:13 +0300
commit742cdd05940815b3ed41d5d1db1182d6eaa783b0 (patch)
treecd401981142bcff97917c17dda5095aa4012ada4 /redis_array.c
parentacd10409bc84f9d179281bcc9acd2c9f131578a7 (diff)
Issue #1302
Handle async parameter for RedisCluster::flushDb and RedisCluster::flushAll
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/redis_array.c b/redis_array.c
index 3d7f9366..9f00a74c 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -97,6 +97,10 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_multi, 0, 0, 1)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
+ZEND_BEGIN_ARG_INFO_EX(arginfo_flush, 0, 0, 0)
+ ZEND_ARG_INFO(0, async)
+ZEND_END_ARG_INFO()
+
zend_function_entry redis_array_functions[] = {
PHP_ME(RedisArray, __call, arginfo_call, ZEND_ACC_PUBLIC)
PHP_ME(RedisArray, __construct, arginfo_ctor, ZEND_ACC_PUBLIC)