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 authored and Yuval-Ariel committed Nov 25, 2022
1 parent eadf04b commit cf0fceb
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 @@ -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) {
Expand Down

0 comments on commit cf0fceb

Please sign in to comment.