From 46ec52499eb0bab57f9b649b11ca9161f93ba06b Mon Sep 17 00:00:00 2001 From: Yi Wu Date: Tue, 9 Jan 2018 10:53:35 -0800 Subject: [PATCH] Fix db_bench write being disabled in lite build Summary: The macro was added by mistake in #2372 Closes https://github.com/facebook/rocksdb/pull/3343 Differential Revision: D6681356 Pulled By: yiwu-arbug fbshipit-source-id: 4180172fb0eaef4189c07f219241e0c261c03461 --- tools/db_bench_tool.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index a71bffb1a..064c5ccea 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -3661,9 +3661,7 @@ void VerifyDBFromDB(std::string& truth_db_name) { } } if (!use_blob_db_) { -#ifndef ROCKSDB_LITE s = db_with_cfh->db->Write(write_options_, &batch); -#endif // ROCKSDB_LITE } thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, entries_per_batch_, kWrite);