]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
It is now possible to enable/disable RDB checksum computation from redis.conf or...
[redis.git] / src / redis.h
index d8595fe24689d4e7bb3edfceceaaf63a8d6a123a..9702010e2de99281159983ab0b3123b24e0bf585 100644 (file)
@@ -517,6 +517,7 @@ struct redisServer {
     int saveparamslen;              /* Number of saving points */
     char *rdb_filename;             /* Name of RDB file */
     int rdb_compression;            /* Use compression in RDB? */
+    int rdb_checksum;               /* Use RDB checksum? */
     time_t lastsave;                /* Unix time of last save succeeede */
     int lastbgsave_status;          /* REDIS_OK or REDIS_ERR */
     int stop_writes_on_bgsave_err;  /* Don't allow writes if can't BGSAVE */