Persistence code for encoded sorted sets

This commit is contained in:
Pieter Noordhuis
2011-03-09 13:16:38 +01:00
parent d1c920c538
commit e12b27acf7
2 changed files with 33 additions and 15 deletions

View File

@ -70,10 +70,12 @@
#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
#define REDIS_LIST_ZIPLIST 10
#define REDIS_SET_INTSET 11
#define REDIS_ZSET_ZIPLIST 12
/* Objects encoding. Some kind of objects like Strings and Hashes can be
* internally represented in multiple ways. The 'encoding' field of the object