From 48dafb2c5925476260125ae426d400132135ff15 Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Mon, 19 Nov 2012 12:16:45 -0800 Subject: [PATCH] Fix compilation error introduced by previous commit 7889e094554dc5bba678a0bfa7fb5eca422c34de Summary: Fix compilation error introduced by previous commit 7889e094554dc5bba678a0bfa7fb5eca422c34de Test Plan: make clean check --- db/version_set.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/db/version_set.cc b/db/version_set.cc index f393871f2..310c9fa38 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -1147,13 +1147,6 @@ Status VersionSet::Recover() { } } - // Write out each individual edit - if (verbose) { - printf("*************************Edit[%d] = %s\n", - count, edit.DebugString().c_str()); - } - count++; - if (s.ok()) { builder.Apply(&edit); } @@ -1268,6 +1261,13 @@ Status VersionSet::DumpManifest(Options& options, std::string& dscname, } } + // Write out each individual edit + if (verbose) { + printf("*************************Edit[%d] = %s\n", + count, edit.DebugString().c_str()); + } + count++; + if (s.ok()) { builder.Apply(&edit); }