Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 08fd9a3

Browse files
committed
add rocksdb build_version.cc
1 parent 136c576 commit 08fd9a3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

deps/leveldb/leveldb-rocksdb/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ldb
3333
manifest_dump
3434
sst_dump
3535
column_aware_encoding_exp
36-
util/build_version.cc
36+
#util/build_version.cc
3737
build_tools/VALGRIND_LOGS/
3838
coverage/COVERAGE_REPORT
3939
.gdbhistory
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "build_version.h"
2+
const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@@GIT_SHA@@";
3+
const char* rocksdb_build_git_date = "rocksdb_build_git_date:@@GIT_DATE_TIME@@";
4+
const char* rocksdb_build_compile_date = __DATE__;

0 commit comments

Comments
 (0)