mirror of https://github.com/facebook/rocksdb.git
Fix compilation error in LITE mode (#5391)
Summary: Add macro ROCKSDB_LITE to fix compilation. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5391 Differential Revision: D15574522 Pulled By: riversand963 fbshipit-source-id: 95aea83c5d9b2bf98a3ba0ef9167b63c9be2988b
This commit is contained in:
parent
ab8f6c01a6
commit
83f7a8eed0
|
@ -2974,10 +2974,13 @@ class Benchmark {
|
|||
->ToString()
|
||||
.c_str());
|
||||
}
|
||||
|
||||
#ifndef ROCKSDB_LITE
|
||||
if (FLAGS_use_secondary_db) {
|
||||
fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n",
|
||||
secondary_db_updates_);
|
||||
}
|
||||
#endif // ROCKSDB_LITE
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue