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

column family for compaction.
This commit is contained in:
dhruba borthakur 2016-10-17 10:40:30 -07:00 committed by Siying Dong
parent fea6fdd676
commit 5027dd17a7

View File

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