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