mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05: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…
Reference in New Issue
Block a user