提交 c77169b7 编写于 作者: A antirez

increment server.dirty on HDEL

上级 7b7f987e
......@@ -5956,6 +5956,7 @@ static void hdelCommand(redisClient *c) {
} else {
deleted = dictDelete((dict*)o->ptr,c->argv[2]) == DICT_OK;
}
if (deleted) server.dirty++;
addReply(c,deleted ? shared.cone : shared.czero);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册