Commit efb60225 authored by antirez's avatar antirez
Browse files

Do not propagate DEBUG LOADAOF

parent af77acc3
...@@ -233,6 +233,7 @@ void debugCommand(redisClient *c) { ...@@ -233,6 +233,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