[thin_repair] don't open the space maps in the old metadata, we'll regenerate.

This commit is contained in:
Joe Thornber authored and Heinz Mauelshagen committed 2013-08-08 12:10:29 +02:00
1 parent 4c5ae4a785
commit d779b6c1fa
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ namespace {
metadata::ptr new_md(new metadata(new_path, metadata::CREATE, 128, 0));
emitter::ptr e = create_restore_emitter(new_md);
metadata::ptr old_md(new metadata(old_path, metadata::OPEN));
metadata::ptr old_md(new metadata(old_path));
metadata_dump(old_md, e, true);
} catch (std::exception &e) {