Defrag: don't crash when a module value is encountered.
This commit is contained in:
parent
59e4ec8835
commit
da46f4cc7e
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user