浏览代码

Remove dead code.

The dead code has been in the codebase since the initial commit and is
generating a compiler warning when used in Xcode.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=164174594
naive_version
davidair 7 年前
committed by Victor Costan
父节点
当前提交
02f43c0fcd
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. +0
    -7
      db/version_set.cc

+ 0
- 7
db/version_set.cc 查看文件

@ -1399,13 +1399,6 @@ void VersionSet::SetupOtherInputs(Compaction* c) {
&c->grandparents_); &c->grandparents_);
} }
if (false) {
Log(options_->info_log, "Compacting %d '%s' .. '%s'",
level,
smallest.DebugString().c_str(),
largest.DebugString().c_str());
}
// Update the place where we will do the next compaction for this level. // Update the place where we will do the next compaction for this level.
// We update this immediately instead of waiting for the VersionEdit // We update this immediately instead of waiting for the VersionEdit
// to be applied so that if the compaction fails, we will try a different // to be applied so that if the compaction fails, we will try a different

正在加载...
取消
保存