cache_restore --omit-clean-shutdown

This commit is contained in:
Joe Thornber
2013-10-29 12:46:23 +00:00
parent dcf4b0a99c
commit 31ce9a03fa
7 changed files with 38 additions and 16 deletions

View File

@@ -23,7 +23,7 @@ namespace {
emitter::ptr output_emitter(string const &path) {
block_manager<>::ptr bm = open_bm(path, block_io<>::READ_WRITE);
metadata::ptr md(new metadata(bm, metadata::CREATE));
return create_restore_emitter(md);
return create_restore_emitter(md, true);
}
int repair(string const &old_path, string const &new_path) {