Added a missing server.dirty increment in a non critical place, added more tests

This commit is contained in:
antirez
2009-12-18 07:13:13 -05:00
parent c632369b52
commit fdcaae84d3
2 changed files with 8 additions and 1 deletions

View File

@ -3968,7 +3968,8 @@ static void sinterGenericCommand(redisClient *c, robj **setskeys, unsigned long
if (!setobj) {
zfree(dv);
if (dstkey) {
deleteKey(c->db,dstkey);
if (deleteKey(c->db,dstkey))
server.dirty++;
addReply(c,shared.czero);
} else {
addReply(c,shared.nullmultibulk);