Fix build

This commit is contained in:
Igor Canadi 2014-11-14 11:52:17 -08:00
parent 6c1b040cc9
commit 04ca7481d2
2 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -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);