Fix a minor bug in the ldb tool that was not selecting the specified (#1399)

column family for compaction.
main
dhruba borthakur 8 years ago committed by Siying Dong
parent fea6fdd676
commit 5027dd17a7
  1. 2
      tools/ldb_cmd.cc

@ -775,7 +775,7 @@ void CompactorCommand::DoCommand() {
CompactRangeOptions cro;
cro.bottommost_level_compaction = BottommostLevelCompaction::kForce;
db_->CompactRange(cro, begin, end);
db_->CompactRange(cro, GetCfHandle(), begin, end);
exec_state_ = LDBCommandExecuteResult::Succeed("");
delete begin;

Loading…
Cancel
Save