mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 02:01:21 +00:00
SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result.
This commit is contained in:
@ -121,7 +121,7 @@ void computeDatasetDigest(unsigned char *final) {
|
||||
} else if (o->type == REDIS_SET) {
|
||||
setTypeIterator *si = setTypeInitIterator(o);
|
||||
robj *ele;
|
||||
while((ele = setTypeNext(si)) != NULL) {
|
||||
while((ele = setTypeNextObject(si)) != NULL) {
|
||||
xorObjectDigest(digest,ele);
|
||||
decrRefCount(ele);
|
||||
}
|
||||
|
Reference in New Issue
Block a user