diff options
author | antirez <antirez@gmail.com> | 2020-04-09 12:02:27 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-04-09 12:10:10 +0200 |
commit | 451872527cec0b369211284b48e48867f5d168a9 (patch) | |
tree | e8d6d699f1c1042ca135043f3c13b716ed0f5596 /src/rdb.h | |
parent | 3d5b2d41b52906269778c42fec40d3c85535b9bf (diff) | |
download | redis-451872527cec0b369211284b48e48867f5d168a9.tar.gz |
More powerful DEBUG RELOAD.
Related to #3243.
Diffstat (limited to 'src/rdb.h')
-rw-r--r-- | src/rdb.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -122,10 +122,10 @@ #define RDB_LOAD_SDS (1<<2) /* flags on the purpose of rdb save or load */ -#define RDBFLAGS_NONE 0 -#define RDBFLAGS_AOF_PREAMBLE (1<<0) -#define RDBFLAGS_REPLICATION (1<<1) -#define RDBFLAGS_ALLOW_DUP (1<<2) +#define RDBFLAGS_NONE 0 /* No special RDB loading. */ +#define RDBFLAGS_AOF_PREAMBLE (1<<0) /* Load/save the RDB as AOF preamble. */ +#define RDBFLAGS_REPLICATION (1<<1) /* Load/save for SYNC. */ +#define RDBFLAGS_ALLOW_DUP (1<<2) /* Allow duplicated keys when loading.*/ int rdbSaveType(rio *rdb, unsigned char type); int rdbLoadType(rio *rdb); |