Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
dd1eefa4
Commit
dd1eefa4
authored
May 15, 2011
by
antirez
Browse files
Fixed SINTER[STORE] problem related to the new copy on write safe iterator
parent
70bc5f77
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_set.c
View file @
dd1eefa4
...
...
@@ -437,6 +437,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
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment