From b622ba5d6b28c37118002bb82615ed5613c98063 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Fri, 7 Nov 2014 15:11:36 -0800 Subject: [PATCH] Fixed compile error in db/flush_job.cc Summary: Fixed compile error in db/flush_job.cc Test Plan: make --- db/flush_job.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/flush_job.cc b/db/flush_job.cc index a3079d2dfe..74daf240be 100644 --- a/db/flush_job.cc +++ b/db/flush_job.cc @@ -105,11 +105,11 @@ Status FlushJob::Run(uint64_t* file_number) { } if (!s.ok()) { - cfd_->imm()->RollbackMemtableFlush(mems, file_number); + cfd_->imm()->RollbackMemtableFlush(mems, fn); } else { // Replace immutable memtable with the generated Table s = cfd_->imm()->InstallMemtableFlushResults( - cfd_, mutable_cf_options_, mems, versions_, db_mutex_, file_number, + cfd_, mutable_cf_options_, mems, versions_, db_mutex_, fn, &job_context_->memtables_to_free, db_directory_, log_buffer_); }