]> git.saurik.com Git - redis.git/commitdiff
Do not propagate DEBUG LOADAOF
authorantirez <antirez@gmail.com>
Tue, 20 Dec 2011 16:52:57 +0000 (17:52 +0100)
committerantirez <antirez@gmail.com>
Tue, 20 Dec 2011 16:52:57 +0000 (17:52 +0100)
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) {