Don't dump rocksdb version on IOS
This commit is contained in:
parent
0af36d6aa6
commit
de41357a18
@ -4690,9 +4690,12 @@ Status DestroyDB(const std::string& dbname, const Options& options) {
|
|||||||
//
|
//
|
||||||
// A global method that can dump out the build version
|
// A global method that can dump out the build version
|
||||||
void DumpLeveldbBuildVersion(Logger * log) {
|
void DumpLeveldbBuildVersion(Logger * log) {
|
||||||
|
#if !defined(IOS_CROSS_COMPILE)
|
||||||
|
// if we compile with Xcode, we don't run build_detect_vesion, so we don't generate util/build_version.cc
|
||||||
Log(log, "Git sha %s", rocksdb_build_git_sha);
|
Log(log, "Git sha %s", rocksdb_build_git_sha);
|
||||||
Log(log, "Compile time %s %s",
|
Log(log, "Compile time %s %s",
|
||||||
rocksdb_build_compile_time, rocksdb_build_compile_date);
|
rocksdb_build_compile_time, rocksdb_build_compile_date);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace rocksdb
|
} // namespace rocksdb
|
||||||
|
Loading…
Reference in New Issue
Block a user