summaryrefslogtreecommitdiff
path: root/src/rdb.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2017-08-30 12:40:27 +0200
committerantirez <antirez@gmail.com>2017-12-01 10:24:24 +0100
commit79866a6361829ed0602dedff9cb378c66977227a (patch)
tree394042e4d08ba6563f674c87a314a045382d87c8 /src/rdb.h
parent045d65c3af460a71d2b89b84f5e0b85d98320a77 (diff)
downloadredis-79866a6361829ed0602dedff9cb378c66977227a.tar.gz
Streams: 12 commits squashed into the initial Streams implementation.
Diffstat (limited to 'src/rdb.h')
-rw-r--r--src/rdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rdb.h b/src/rdb.h
index 62a13f444..bf1150455 100644
--- a/src/rdb.h
+++ b/src/rdb.h
@@ -89,10 +89,11 @@
#define RDB_TYPE_ZSET_ZIPLIST 12
#define RDB_TYPE_HASH_ZIPLIST 13
#define RDB_TYPE_LIST_QUICKLIST 14
+#define RDB_TYPE_STREAM_LISTPACKS 15
/* NOTE: WHEN ADDING NEW RDB TYPE, UPDATE rdbIsObjectType() BELOW */
/* Test if a type is an object type. */
-#define rdbIsObjectType(t) ((t >= 0 && t <= 7) || (t >= 9 && t <= 14))
+#define rdbIsObjectType(t) ((t >= 0 && t <= 7) || (t >= 9 && t <= 15))
/* Special RDB opcodes (saved/loaded with rdbSaveType/rdbLoadType). */
#define RDB_OPCODE_AUX 250