mirror of https://github.com/redis/redis.git
sinterstore: add missing keyspace del event when any source set not exists. (#8949)
this patch fixes sinterstore by add missing keyspace del event when any source set not exists. Co-authored-by: srzhao <srzhao@sysnew.com>
This commit is contained in:
parent
df4d916007
commit
46d9f31e94
|
|
@ -869,6 +869,7 @@ void sinterGenericCommand(client *c, robj **setkeys,
|
|||
if (dstkey) {
|
||||
if (dbDelete(c->db,dstkey)) {
|
||||
signalModifiedKey(c,c->db,dstkey);
|
||||
notifyKeyspaceEvent(NOTIFY_GENERIC,"del",dstkey,c->db->id);
|
||||
server.dirty++;
|
||||
}
|
||||
addReply(c,shared.czero);
|
||||
|
|
|
|||
Loading…
Reference in New Issue