Remove redundant ROCKSDB_LITE check (#7172)

Summary:
It's already inside of a `#ifdef ROCKSDB_LITE` block.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7172

Reviewed By: gg814

Differential Revision: D22736057

Pulled By: jay-zhuang

fbshipit-source-id: 31f4aa05aba98e2e42fa6f890fa72acf3a0f12f2
main
Jay Zhuang 4 years ago committed by Facebook GitHub Bot
parent cd4592c220
commit 0c5bb10f06
  1. 2
      db_stress_tool/db_stress_test_base.cc

@ -1284,7 +1284,6 @@ Status StressTest::TestBackupRestore(
return s; return s;
} }
#ifndef ROCKSDB_LITE
Status StressTest::TestApproximateSize( Status StressTest::TestApproximateSize(
ThreadState* thread, uint64_t iteration, ThreadState* thread, uint64_t iteration,
const std::vector<int>& rand_column_families, const std::vector<int>& rand_column_families,
@ -1326,7 +1325,6 @@ Status StressTest::TestApproximateSize(
return db_->GetApproximateSizes( return db_->GetApproximateSizes(
sao, column_families_[rand_column_families[0]], &range, 1, &result); sao, column_families_[rand_column_families[0]], &range, 1, &result);
} }
#endif // ROCKSDB_LITE
Status StressTest::TestCheckpoint(ThreadState* thread, Status StressTest::TestCheckpoint(ThreadState* thread,
const std::vector<int>& rand_column_families, const std::vector<int>& rand_column_families,

Loading…
Cancel
Save