Commit 8939ff12 authored by antirez's avatar antirez
Browse files

Do not propagate DEBUG LOADAOF

parent 8b102e04
...@@ -235,6 +235,7 @@ void debugCommand(redisClient *c) { ...@@ -235,6 +235,7 @@ void debugCommand(redisClient *c) {
addReply(c,shared.err); addReply(c,shared.err);
return; return;
} }
server.dirty = 0; /* Prevent AOF / replication */
redisLog(REDIS_WARNING,"Append Only File loaded by DEBUG LOADAOF"); redisLog(REDIS_WARNING,"Append Only File loaded by DEBUG LOADAOF");
addReply(c,shared.ok); addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[1]->ptr,"object") && c->argc == 3) { } else if (!strcasecmp(c->argv[1]->ptr,"object") && c->argc == 3) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment