Fix compilation error in LITE mode (#5391)

Summary:
Add macro ROCKSDB_LITE to fix compilation.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5391

Differential Revision: D15574522

Pulled By: riversand963

fbshipit-source-id: 95aea83c5d9b2bf98a3ba0ef9167b63c9be2988b
main
Yanqin Jin 6 years ago committed by Facebook Github Bot
parent ab8f6c01a6
commit 83f7a8eed0
  1. 3
      tools/db_bench_tool.cc

@ -2974,10 +2974,13 @@ class Benchmark {
->ToString() ->ToString()
.c_str()); .c_str());
} }
#ifndef ROCKSDB_LITE
if (FLAGS_use_secondary_db) { if (FLAGS_use_secondary_db) {
fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n", fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n",
secondary_db_updates_); secondary_db_updates_);
} }
#endif // ROCKSDB_LITE
} }
private: private:

Loading…
Cancel
Save