Correct the log message in VersionEdit

Summary:
When VersionEdit fails in kNewFile3, previously it logs "new-file2 entry".
However, it should be "new-file3 entry."

Test Plan:
make
main
Yueh-Hsuan Chiang 10 years ago
parent 2a8e5203d8
commit 3b5fe3a1f3
  1. 2
      db/version_edit.cc

@ -293,7 +293,7 @@ Status VersionEdit::DecodeFrom(const Slice& src) {
new_files_.push_back(std::make_pair(level, f));
} else {
if (!msg) {
msg = "new-file2 entry";
msg = "new-file3 entry";
}
}
break;

Loading…
Cancel
Save