AOF fileds in the global server state, and define names, renamed with more consistent names. More work to do.

This commit is contained in:
antirez
2011-12-21 11:58:42 +01:00
parent e394114d95
commit 2c915bcf6d
5 changed files with 100 additions and 100 deletions

View File

@ -229,7 +229,7 @@ void debugCommand(redisClient *c) {
addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[1]->ptr,"loadaof")) {
emptyDb();
if (loadAppendOnlyFile(server.appendfilename) != REDIS_OK) {
if (loadAppendOnlyFile(server.aof_filename) != REDIS_OK) {
addReply(c,shared.err);
return;
}