diff options
author | michael-grunder <michael.grunder@gmail.com> | 2019-04-16 17:57:40 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2019-04-16 18:16:12 +0300 |
commit | d7450b2f59700e4662624317438c456a0dd36165 (patch) | |
tree | 01114daffdc930b85039356e75138d5b7b6afa05 /library.c | |
parent | 5bf0c84c8fc7411e3d1dbee821c96b5a73561849 (diff) |
Add support for STREAM to the type command
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -807,6 +807,8 @@ PHP_REDIS_API void redis_type_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock * l = REDIS_ZSET; } else if (strncmp(response, "+hash", 5) == 0){ l = REDIS_HASH; + } else if (strncmp(response, "+stream", 7) == 0) { + l = REDIS_STREAM; } else { l = REDIS_NOT_FOUND; } |