diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index c8ccfbd22..e3560d6fa 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -3794,7 +3794,8 @@ void VerifyDBFromDB(std::string& truth_db_name) { Duration duration(test_duration, max_ops, ops_per_stage); for (size_t i = 0; i < num_key_gens; i++) { - key_gens[i].reset(new KeyGenerator(&(thread->rand), write_mode, num_, + key_gens[i].reset(new KeyGenerator(&(thread->rand), write_mode, + num_ + max_num_range_tombstones_, ops_per_stage)); }