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
This commit is contained in:
Yueh-Hsuan Chiang 2014-10-23 10:41:58 -07:00
parent 2a8e5203d8
commit 3b5fe3a1f3

View file

@ -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;