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
main
Yi Wu 7 years ago committed by Facebook Github Bot
parent 00b33c2474
commit 46ec52499e
  1. 2
      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);

Loading…
Cancel
Save