From 83f7a8eed0592cfe275ca5247069adb0acdf75d3 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Fri, 31 May 2019 08:24:05 -0700 Subject: [PATCH] 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 --- tools/db_bench_tool.cc | 3 +++ 1 file changed, 3 insertions(+) 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: