Don't dump rocksdb version on IOS

main
Igor Canadi 11 years ago
parent 0af36d6aa6
commit de41357a18
  1. 3
      db/db_impl.cc

@ -4690,9 +4690,12 @@ Status DestroyDB(const std::string& dbname, const Options& options) {
//
// A global method that can dump out the build version
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, "Compile time %s %s",
rocksdb_build_compile_time, rocksdb_build_compile_date);
#endif
}
} // namespace rocksdb

Loading…
Cancel
Save