mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Defrag: don't crash when a module value is encountered.
This commit is contained in:
parent
baa9898821
commit
3f79b2f883
@ -406,6 +406,9 @@ int defragKey(redisDb *db, dictEntry *de) {
|
|||||||
} else {
|
} else {
|
||||||
serverPanic("Unknown hash encoding");
|
serverPanic("Unknown hash encoding");
|
||||||
}
|
}
|
||||||
|
} else if (ob->type == OBJ_MODULE) {
|
||||||
|
/* Currently defragmenting modules private data types
|
||||||
|
* is not supported. */
|
||||||
} else {
|
} else {
|
||||||
serverPanic("Unknown object type");
|
serverPanic("Unknown object type");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user