save zipmap encoded hashes as blobs. Work in progress.

This commit is contained in:
antirez
2011-02-28 10:01:04 +01:00
parent 1c53928fca
commit 3dffb8e21e
4 changed files with 29 additions and 18 deletions

View File

@ -70,6 +70,8 @@
#define REDIS_ZSET 3
#define REDIS_HASH 4
#define REDIS_VMPOINTER 8
/* Object types only used for persistence in .rdb files */
#define REDIS_HASH_ZIPMAP 9
/* Objects encoding. Some kind of objects like Strings and Hashes can be
* internally represented in multiple ways. The 'encoding' field of the object