mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
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()
|
->ToString()
|
||||||
.c_str());
|
.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ROCKSDB_LITE
|
||||||
if (FLAGS_use_secondary_db) {
|
if (FLAGS_use_secondary_db) {
|
||||||
fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n",
|
fprintf(stdout, "Secondary instance updated %" PRIu64 " times.\n",
|
||||||
secondary_db_updates_);
|
secondary_db_updates_);
|
||||||
}
|
}
|
||||||
|
#endif // ROCKSDB_LITE
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue