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 17, 2022
1 parent 4c43ebe commit 5fd8948
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 @@ -3686,7 +3686,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 5fd8948

Please sign in to comment.