Fixed Issue 83:Using TYPE on a zset results in a malformed response from the Redis server
This commit is contained in:
parent
71eba4775d
commit
412a8bcea3
1
redis.c
1
redis.c
@ -3105,6 +3105,7 @@ static void typeCommand(redisClient *c) {
|
||||
case REDIS_STRING: type = "+string"; break;
|
||||
case REDIS_LIST: type = "+list"; break;
|
||||
case REDIS_SET: type = "+set"; break;
|
||||
case REDIS_ZSET: type = "+zset"; break;
|
||||
default: type = "unknown"; break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user