From 5901b845ed45e50247f358b36f90a84b6f4da41c Mon Sep 17 00:00:00 2001 From: wesley <10225102463@stu.ecnu.edu.cn> Date: Thu, 2 Jan 2025 02:28:32 +0800 Subject: [PATCH] ver1 bug fix --- benchmarks/db_bench_new.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/db_bench_new.cc b/benchmarks/db_bench_new.cc index 7da6031..c324a17 100644 --- a/benchmarks/db_bench_new.cc +++ b/benchmarks/db_bench_new.cc @@ -617,8 +617,10 @@ class Benchmark { } else if (name == Slice("readmissing")) { method = &Benchmark::ReadMissing; } else if (name == Slice("fillgivenseq")){ // wesley add + fresh_db = true; method = &Benchmark::WriteTargetSeq; } else if (name == Slice("fillgivenrandom")){ + fresh_db = true; method = &Benchmark::WriteTargetRandom; } else if (name == Slice("findkeysbyfield")) { // TODO: findkeysbyfield