From 76642b81f4b9d7326c0b4f13a1680c12f88b88c6 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 20 Mar 2014 16:52:59 -0700 Subject: [PATCH] Increase done even if progress_reports is false --- tools/db_stress.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/db_stress.cc b/tools/db_stress.cc index 76841e6d1..a96ee3144 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -447,8 +447,8 @@ class Stats { last_op_finish_ = now; } - if (FLAGS_progress_reports) { done_++; + if (FLAGS_progress_reports) { if (done_ >= next_report_) { if (next_report_ < 1000) next_report_ += 100; else if (next_report_ < 5000) next_report_ += 500;