mirror of
https://github.com/fluencelabs/redis
synced 2025-04-12 20:26:04 +00:00
increment server.dirty on HDEL
This commit is contained in:
parent
7b7f987e91
commit
c77169b7e9
1
redis.c
1
redis.c
@ -5956,6 +5956,7 @@ static void hdelCommand(redisClient *c) {
|
|||||||
} else {
|
} else {
|
||||||
deleted = dictDelete((dict*)o->ptr,c->argv[2]) == DICT_OK;
|
deleted = dictDelete((dict*)o->ptr,c->argv[2]) == DICT_OK;
|
||||||
}
|
}
|
||||||
|
if (deleted) server.dirty++;
|
||||||
addReply(c,deleted ? shared.cone : shared.czero);
|
addReply(c,deleted ? shared.cone : shared.czero);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user