Skip to content

Commit

Permalink
Fix a minor bug in the ldb tool that was not selecting the specified (f…
Browse files Browse the repository at this point in the history
…acebook#1399)

column family for compaction.
  • Loading branch information
dhruba authored and siying committed Oct 17, 2016
1 parent fea6fdd commit 5027dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ldb_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5027dd1

Please sign in to comment.