mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
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 a new issue