Skip to content

Commit

Permalink
Fix db_bench write being disabled in lite build
Browse files Browse the repository at this point in the history
Summary:
The macro was added by mistake in #2372
Closes #3343

Differential Revision: D6681356

Pulled By: yiwu-arbug

fbshipit-source-id: 4180172fb0eaef4189c07f219241e0c261c03461
  • Loading branch information
Yi Wu authored and siying committed Jan 11, 2018
1 parent 8e42c3f commit f897be8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f897be8

Please sign in to comment.