From bf94685e674e2a02ed77b8a67fc4944b57c194ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=BA=BA=E9=B1=BC?= <1823748191@qq.com> Date: Mon, 9 Dec 2024 10:03:35 +0800 Subject: [PATCH] update benchmark --- benchmarks/db_bench.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/db_bench.cc b/benchmarks/db_bench.cc index 584b253..f9e503e 100644 --- a/benchmarks/db_bench.cc +++ b/benchmarks/db_bench.cc @@ -1127,8 +1127,8 @@ int main(int argc, char** argv) { // Choose a location for the test database if none given with --db= if (FLAGS_db == nullptr) { - leveldb::g_env->GetTestDirectory(&default_db_path); - default_db_path += "/dbbench"; + //leveldb::g_env->GetTestDirectory(&default_db_path); + default_db_path = "dbbench"; FLAGS_db = default_db_path.c_str(); }