]> git.saurik.com Git - redis.git/blobdiff - src/debug.c
AOF refactoring, now with three states: ON, OFF, WAIT_REWRITE.
[redis.git] / src / debug.c
index d610d2a97d4fe96d677d1d7edcff3a12c422b492..ec98bac01ca5f80364c7c774842d0f0afdfb5f63 100644 (file)
@@ -233,6 +233,7 @@ void debugCommand(redisClient *c) {
             addReply(c,shared.err);
             return;
         }
+        server.dirty = 0; /* Prevent AOF / replication */
         redisLog(REDIS_WARNING,"Append Only File loaded by DEBUG LOADAOF");
         addReply(c,shared.ok);
     } else if (!strcasecmp(c->argv[1]->ptr,"object") && c->argc == 3) {