mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
@@ -354,7 +354,7 @@ void sortCommand(redisClient *c) {
|
||||
listTypeIterator *li;
|
||||
listTypeEntry entry;
|
||||
li = listTypeInitIterator(sortval,
|
||||
desc ? listTypeLength(sortval) - start - 1 : start,
|
||||
desc ? (long)(listTypeLength(sortval) - start - 1) : start,
|
||||
desc ? REDIS_HEAD : REDIS_TAIL);
|
||||
|
||||
while(j < vectorlen && listTypeNext(li,&entry)) {
|
||||
|
||||
Reference in New Issue
Block a user