From: antirez Date: Tue, 20 Dec 2011 16:52:57 +0000 (+0100) Subject: Do not propagate DEBUG LOADAOF X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/efb6022529469813cd946f6bb22d762dc20e606d Do not propagate DEBUG LOADAOF --- diff --git a/src/debug.c b/src/debug.c index d610d2a9..ec98bac0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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) {