From 87895c62db1b50794e60dea7a146c8819442a29d Mon Sep 17 00:00:00 2001 From: Feng Zhu Date: Wed, 16 Jul 2014 16:56:49 -0700 Subject: [PATCH] fix bug in LOG for flush memtable Summary: One line change to fix a bug in the LOG when flush memtable Test Plan: NONE Reviewers: sdong Reviewed By: sdong Differential Revision: https://reviews.facebook.net/D20049 --- db/db_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index 4e241aea6..b3255cf4a 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -1464,7 +1464,7 @@ Status DBImpl::WriteLevel0Table(ColumnFamilyData* cfd, delete iter; Log(options_.info_log, "[%s] Level-0 flush table #%" PRIu64 ": %" PRIu64 " bytes %s", - cfd->GetName().c_str(), meta.fd.GetFileSize(), meta.fd.GetFileSize(), + cfd->GetName().c_str(), meta.fd.GetNumber(), meta.fd.GetFileSize(), s.ToString().c_str()); if (!options_.disableDataSync) {