diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index b98fb42c4..d80502f16 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -2974,10 +2974,13 @@ class Benchmark { ->ToString() .c_str()); } + +#ifndef ROCKSDB_LITE if (FLAGS_use_secondary_db) { fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n", secondary_db_updates_); } +#endif // ROCKSDB_LITE } private: