summaryrefslogtreecommitdiff
path: root/src/rdb.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-04-09 11:09:40 +0200
committerantirez <antirez@gmail.com>2020-04-09 11:09:40 +0200
commit3d5b2d41b52906269778c42fec40d3c85535b9bf (patch)
treedd39abaf96a0318076ee91c7e5fcb41c2bd6c847 /src/rdb.h
parent30adc62232b2f8fe7dc31b850d8df3979f443234 (diff)
downloadredis-3d5b2d41b52906269778c42fec40d3c85535b9bf.tar.gz
RDB: clarify a condition in rdbLoadRio().
Diffstat (limited to 'src/rdb.h')
-rw-r--r--src/rdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rdb.h b/src/rdb.h
index 526ed116b..9dfcae7a5 100644
--- a/src/rdb.h
+++ b/src/rdb.h
@@ -125,6 +125,7 @@
#define RDBFLAGS_NONE 0
#define RDBFLAGS_AOF_PREAMBLE (1<<0)
#define RDBFLAGS_REPLICATION (1<<1)
+#define RDBFLAGS_ALLOW_DUP (1<<2)
int rdbSaveType(rio *rdb, unsigned char type);
int rdbLoadType(rio *rdb);