Fix build
This commit is contained in:
parent
6c1b040cc9
commit
04ca7481d2
@ -189,8 +189,8 @@ class Compaction {
|
||||
CompressionType output_compression, bool seek_compaction = false,
|
||||
bool deletion_compaction = false);
|
||||
|
||||
CompactionInputFiles* TEST_GetInputFiles(int level) {
|
||||
return &inputs_[level];
|
||||
CompactionInputFiles* TEST_GetInputFiles(int l) {
|
||||
return &inputs_[l];
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -164,7 +164,9 @@ TEST(CompactionJobTest, Simple) {
|
||||
mutex_.Unlock();
|
||||
ASSERT_OK(compaction_job.Run());
|
||||
mutex_.Lock();
|
||||
compaction_job.Install(Status::OK(), &mutex_);
|
||||
Status s;
|
||||
compaction_job.Install(&s, &mutex_);
|
||||
ASSERT_OK(s);
|
||||
mutex_.Unlock();
|
||||
|
||||
mock_table_factory_->AssertLatestFile(expected_results);
|
||||
|
Loading…
Reference in New Issue
Block a user