Skip to content

Commit

Permalink
db_bench: Make -statistics_string behave as -statistics (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb committed Nov 15, 2023
1 parent e6423a3 commit 2267a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3927,7 +3927,7 @@ class Benchmark {
}
}

if (FLAGS_statistics) {
if (dbstats) {
fprintf(stdout, "STATISTICS:\n%s\n", dbstats->ToString().c_str());
}
if (FLAGS_simcache_size >= 0) {
Expand Down

0 comments on commit 2267a60

Please sign in to comment.