Commit 3f79b2f8 authored by antirez's avatar antirez
Browse files

Defrag: don't crash when a module value is encountered.

parent baa98988
......@@ -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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment