Hide usage of compaction_options_fifo from lite build

Summary:
...to fix lite build error.
Closes https://github.com/facebook/rocksdb/pull/2046

Differential Revision: D4785910

Pulled By: yiwu-arbug

fbshipit-source-id: b591f27
main
Yi Wu 8 years ago committed by Facebook Github Bot
parent e7731d119a
commit 41fe9ad75b
  1. 2
      tools/db_bench_tool.cc

@ -2776,8 +2776,10 @@ class Benchmark {
options.allow_mmap_writes = FLAGS_mmap_write; options.allow_mmap_writes = FLAGS_mmap_write;
options.use_direct_reads = FLAGS_use_direct_reads; options.use_direct_reads = FLAGS_use_direct_reads;
options.use_direct_writes = FLAGS_use_direct_writes; options.use_direct_writes = FLAGS_use_direct_writes;
#ifndef ROCKSDB_LITE
options.compaction_options_fifo = CompactionOptionsFIFO( options.compaction_options_fifo = CompactionOptionsFIFO(
FLAGS_fifo_compaction_max_table_files_size_mb * 1024 * 1024); FLAGS_fifo_compaction_max_table_files_size_mb * 1024 * 1024);
#endif // ROCKSDB_LITE
if (FLAGS_prefix_size != 0) { if (FLAGS_prefix_size != 0) {
options.prefix_extractor.reset( options.prefix_extractor.reset(
NewFixedPrefixTransform(FLAGS_prefix_size)); NewFixedPrefixTransform(FLAGS_prefix_size));

Loading…
Cancel
Save