mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 16:51:22 +00:00
Test for ENCODING_SKIPLIST instead of ENCODING_RAW
This commit is contained in:
@ -200,7 +200,7 @@ void sortCommand(redisClient *c) {
|
||||
}
|
||||
|
||||
/* Destructively convert encoded sorted sets for SORT. */
|
||||
if (sortval->type == REDIS_ZSET) zsetConvert(sortval, REDIS_ENCODING_RAW);
|
||||
if (sortval->type == REDIS_ZSET) zsetConvert(sortval, REDIS_ENCODING_SKIPLIST);
|
||||
|
||||
/* Load the sorting vector with all the objects to sort */
|
||||
switch(sortval->type) {
|
||||
|
Reference in New Issue
Block a user