From cf0fceb3baf2ee8fa2fed7d192ddd9b86e80b7bd Mon Sep 17 00:00:00 2001 From: Udi Date: Thu, 17 Nov 2022 06:38:34 +0200 Subject: [PATCH] db_bench: Make -statistics_string behave as -statistics (#248) --- tools/db_bench_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 8776878412..737197c53a 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -3954,7 +3954,7 @@ class Benchmark { } #endif // ROCKSDB_LITE - if (FLAGS_statistics) { + if (dbstats) { fprintf(stdout, "STATISTICS:\n%s\n", dbstats->ToString().c_str()); } if (FLAGS_simcache_size >= 0) {