Style fix in compaction_job.cc

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
This commit is contained in:
Igor Canadi 2015-07-15 09:36:47 +02:00
parent e94c510c3f
commit 9a6a0bd8c9

View File

@ -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() >=