Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed SINTER[STORE] problem related to the new copy on write safe ite…

…rator
  • Loading branch information...
commit b02e81be076735cc7ff5a25e9a25623b8d4e8377 1 parent 430719c
@antirez authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/t_set.c
View
1  src/t_set.c
@@ -433,6 +433,7 @@ void sinterGenericCommand(redisClient *c, robj **setkeys, unsigned long setnum,
si = setTypeInitIterator(sets[0]);
while((encoding = setTypeNext(si,&eleobj,&intobj)) != -1) {
for (j = 1; j < setnum; j++) {
+ if (sets[j] == sets[0]) continue;
if (encoding == REDIS_ENCODING_INTSET) {
/* intset with intset is simple... and fast */
if (sets[j]->encoding == REDIS_ENCODING_INTSET &&

0 comments on commit b02e81b

Please sign in to comment.
Something went wrong with that request. Please try again.