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>2019-04-16 17:57:40 +0300
committerMichael Grunder <michael.grunder@gmail.com>2019-04-16 18:16:12 +0300
commitd7450b2f59700e4662624317438c456a0dd36165 (patch)
tree01114daffdc930b85039356e75138d5b7b6afa05 /redis.c
parent5bf0c84c8fc7411e3d1dbee821c96b5a73561849 (diff)
Add support for STREAM to the type command
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis.c b/redis.c
index 6d32dad5..fa0c2b6d 100644
--- a/redis.c
+++ b/redis.c
@@ -649,6 +649,7 @@ static void add_class_constants(zend_class_entry *ce, int is_cluster TSRMLS_DC)
zend_declare_class_constant_long(ce, ZEND_STRL("REDIS_LIST"), REDIS_LIST TSRMLS_CC);
zend_declare_class_constant_long(ce, ZEND_STRL("REDIS_ZSET"), REDIS_ZSET TSRMLS_CC);
zend_declare_class_constant_long(ce, ZEND_STRL("REDIS_HASH"), REDIS_HASH TSRMLS_CC);
+ zend_declare_class_constant_long(ce, ZEND_STRL("REDIS_STREAM"), REDIS_STREAM TSRMLS_CC);
/* Cluster doesn't support pipelining at this time */
if(!is_cluster) {