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
10d91d7f
Commit
10d91d7f
authored
Apr 09, 2010
by
antirez
Browse files
removed a no longer true assert in the VM code
parent
bdcb92f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
10d91d7f
...
...
@@ -2828,9 +2828,6 @@ static void decrRefCount(void *obj) {
if
(
server
.
vm_enabled
&&
(
o
->
storage
==
REDIS_VM_SWAPPED
||
o
->
storage
==
REDIS_VM_LOADING
))
{
if
(
o
->
storage
==
REDIS_VM_SWAPPED
||
o
->
storage
==
REDIS_VM_LOADING
)
{
redisAssert
(
o
->
refcount
==
1
);
}
if
(
o
->
storage
==
REDIS_VM_LOADING
)
vmCancelThreadedIOJob
(
obj
);
redisAssert
(
o
->
type
==
REDIS_STRING
);
freeStringObject
(
o
);
...
...
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