Skip to content

Commit

Permalink
Style fix in compaction_job.cc
Browse files Browse the repository at this point in the history
Summary: I didn't know this can work :)

Test Plan: none

Reviewers: sdong, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D42081
  • Loading branch information
igorcanadi committed Jul 15, 2015
1 parent e94c510 commit 9a6a0bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/compaction_job.cc
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ Status CompactionJob::ProcessKeyValueCompaction(int64_t* imm_micros,
}
compact_->current_output()->largest.DecodeFrom(newkey);
compact_->builder->Add(newkey, value);
compact_->num_output_records++,
compact_->current_output()->largest_seqno =
std::max(compact_->current_output()->largest_seqno, seqno);
compact_->num_output_records++;
compact_->current_output()->largest_seqno =
std::max(compact_->current_output()->largest_seqno, seqno);

// Close output file if it is big enough
if (compact_->builder->FileSize() >=
Expand Down

0 comments on commit 9a6a0bd

Please sign in to comment.