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
155fb4b4
Commit
155fb4b4
authored
Sep 08, 2010
by
antirez
Browse files
latest fix reverted, there is some problem reported by the CI test
parent
7f00cd22
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
155fb4b4
...
@@ -127,7 +127,7 @@ int dbDelete(redisDb *db, robj *key) {
...
@@ -127,7 +127,7 @@ int dbDelete(redisDb *db, robj *key) {
* deleting the key will kill the I/O thread bringing the key from swap
* deleting the key will kill the I/O thread bringing the key from swap
* to memory, so the client will never be notified and unblocked if we
* to memory, so the client will never be notified and unblocked if we
* don't do it now. */
* don't do it now. */
handleClientsBlockedOnSwappedKey
(
db
,
key
);
/*
handleClientsBlockedOnSwappedKey(db,key);
*/
/* Deleting an entry from the expires dict will not free the sds of
/* Deleting an entry from the expires dict will not free the sds of
* the key, because it is shared with the main dictionary. */
* the key, because it is shared with the main dictionary. */
if
(
dictSize
(
db
->
expires
)
>
0
)
dictDelete
(
db
->
expires
,
key
->
ptr
);
if
(
dictSize
(
db
->
expires
)
>
0
)
dictDelete
(
db
->
expires
,
key
->
ptr
);
...
...
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