Fix a minor bug in the ldb tool that was not selecting the specified (#1399)
column family for compaction.
This commit is contained in:
parent
fea6fdd676
commit
5027dd17a7
@ -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…
Reference in New Issue
Block a user