redis.conf new features the new option, a minor typo preventing the compilation fixed

This commit is contained in:
antirez
2010-05-28 10:48:04 +02:00
parent b0bd87f60c
commit d5d23dabd7
2 changed files with 21 additions and 1 deletions

View File

@ -1386,7 +1386,7 @@ void backgroundRewriteDoneHandler(int statloc) {
/* If append only is actually enabled... */
close(server.appendfd);
server.appendfd = fd;
if (appendfsync != APPENDFSYNC_NO) aof_fsync(fd);
if (server.appendfsync != APPENDFSYNC_NO) aof_fsync(fd);
server.appendseldb = -1; /* Make sure it will issue SELECT */
redisLog(REDIS_NOTICE,"The new append only file was selected for future appends.");
} else {