diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 789c83566..37cec5155 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -5287,11 +5287,11 @@ class Benchmark { ts_ptr = &ts_ret; } Status s; + pinnable_val.Reset(); if (FLAGS_num_column_families > 1) { s = db_with_cfh->db->Get(options, db_with_cfh->GetCfh(key_rand), key, &pinnable_val, ts_ptr); } else { - pinnable_val.Reset(); s = db_with_cfh->db->Get(options, db_with_cfh->db->DefaultColumnFamily(), key, &pinnable_val, ts_ptr);