]> git.saurik.com Git - redis.git/commitdiff
added new RDB codes for ziplist encoded lists and intset encodeed sets
authorantirez <antirez@gmail.com>
Mon, 28 Feb 2011 16:06:31 +0000 (17:06 +0100)
committerantirez <antirez@gmail.com>
Mon, 28 Feb 2011 16:06:31 +0000 (17:06 +0100)
src/redis.h

index b0491e400329e4c6892518640c6ed9a57687e242..0de39894c853575e25de57f9e8fa6580e2d79515 100644 (file)
@@ -72,6 +72,8 @@
 #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
 
 /* Objects encoding. Some kind of objects like Strings and Hashes can be
  * internally represented in multiple ways. The 'encoding' field of the object