save zipmap encoded hashes as blobs. Work in progress.

This commit is contained in:
antirez
2011-02-28 09:56:48 +01:00
parent 419e1cca74
commit 2cc993655f
4 changed files with 35 additions and 13 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