diff options
author | antirez <antirez@gmail.com> | 2010-12-09 21:11:56 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-12-09 23:01:09 +0100 |
commit | 1b508da7ca7cb8e999a557bd0bf18875e0a40972 (patch) | |
tree | e1a34650ff06336e3d0c0c152ce704779db8a7d0 /src/sort.c | |
parent | a5be65f71c927601260f4518236cbc7bc3d87965 (diff) | |
download | redis-1b508da7ca7cb8e999a557bd0bf18875e0a40972.tar.gz |
SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result.
Diffstat (limited to 'src/sort.c')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 79f790105..355a0db64 100644 --- a/src/sort.c +++ b/src/sort.c @@ -222,7 +222,7 @@ void sortCommand(redisClient *c) { } else if (sortval->type == REDIS_SET) { setTypeIterator *si = setTypeInitIterator(sortval); robj *ele; - while((ele = setTypeNext(si)) != NULL) { + while((ele = setTypeNextObject(si)) != NULL) { vector[j].obj = ele; vector[j].u.score = 0; vector[j].u.cmpobj = NULL; |