提交 e525bb16 编写于 作者: I Igor Canadi

Make kMajorVersion and kMinorVersion take version from version macros

上级 6cb0cb30
......@@ -147,7 +147,7 @@ SHARED3 = $(SHARED1)
SHARED = $(SHARED1)
else
# Update db.h if you change these.
SHARED_MAJOR = 2
SHARED_MAJOR = 3
SHARED_MINOR = 0
SHARED1 = ${LIBNAME}.$(PLATFORM_SHARED_EXT)
SHARED2 = $(SHARED1).$(SHARED_MAJOR)
......
* Detailed instructions on how to compile using fbcode and jemalloc
* Latest release is 2.7.fb
......@@ -41,9 +41,8 @@ struct ColumnFamilyDescriptor {
: name(_name), options(_options) {}
};
// Update Makefile if you change these
static const int kMajorVersion = 3;
static const int kMinorVersion = 0;
static const int kMajorVersion = __ROCKSDB_MAJOR__;
static const int kMinorVersion = __ROCKSDB_MINOR__;
struct Options;
struct ReadOptions;
......
#pragma once
// Also update Makefile if you change these
#define __ROCKSDB_MAJOR__ 3
#define __ROCKSDB_MINOR__ 0
#define __ROCKSDB_PATCH__ 0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册