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
3f79b2f8
Commit
3f79b2f8
authored
Jan 12, 2017
by
antirez
Browse files
Defrag: don't crash when a module value is encountered.
parent
baa98988
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/defrag.c
View file @
3f79b2f8
...
...
@@ -406,6 +406,9 @@ int defragKey(redisDb *db, dictEntry *de) {
}
else
{
serverPanic
(
"Unknown hash encoding"
);
}
}
else
if
(
ob
->
type
==
OBJ_MODULE
)
{
/* Currently defragmenting modules private data types
* is not supported. */
}
else
{
serverPanic
(
"Unknown object type"
);
}
...
...
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