Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c77169b7
Commit
c77169b7
authored
Mar 18, 2010
by
antirez
Browse files
increment server.dirty on HDEL
parent
7b7f987e
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
c77169b7
...
@@ -5956,6 +5956,7 @@ static void hdelCommand(redisClient *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);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment