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
ac105243
Commit
ac105243
authored
Jul 29, 2010
by
antirez
Browse files
ZINTERSTORE replication bug fix backported to 2.0.0
parent
30a7f9b3
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
ac105243
...
@@ -6106,7 +6106,7 @@ static void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) {
...
@@ -6106,7 +6106,7 @@ static void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) {
redisAssert(op == REDIS_OP_INTER || op == REDIS_OP_UNION);
redisAssert(op == REDIS_OP_INTER || op == REDIS_OP_UNION);
}
}
deleteKey
(
c
->
db
,
dstkey
);
if (
deleteKey(c->db,dstkey)
) server.dirty++
;
if (dstzset->zsl->length) {
if (dstzset->zsl->length) {
dictAdd(c->db->dict,dstkey,dstobj);
dictAdd(c->db->dict,dstkey,dstobj);
incrRefCount(dstkey);
incrRefCount(dstkey);
...
...
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