Fix a compile error in ROCKSDB_LITE in db/db_impl.cc

Summary:
Fix a compile error in ROCKSDB_LITE in db/db_impl.cc
related to internal_stats.

Test Plan: make OPT=-DROCKSDB_LITE shared_lib

Reviewers: sdong, igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D36819
main
Yueh-Hsuan Chiang 10 years ago
parent 465b25ca93
commit 9741dec0e5
  1. 2
      db/db_impl.cc

@ -430,6 +430,7 @@ void DBImpl::MaybeDumpStats() {
// period in rare cases.
last_stats_dump_time_microsec_ = now_micros;
#ifndef ROCKSDB_LITE
bool tmp1 = false;
bool tmp2 = false;
DBPropertyType cf_property_type =
@ -452,6 +453,7 @@ void DBImpl::MaybeDumpStats() {
db_options_.info_log, "------- DUMPING STATS -------");
Log(InfoLogLevel::INFO_LEVEL,
db_options_.info_log, "%s", stats.c_str());
#endif // !ROCKSDB_LITE
PrintStatistics();
}

Loading…
Cancel
Save