Make kMajorVersion and kMinorVersion take version from version macros

This commit is contained in:
Igor Canadi
2014-04-29 11:59:36 -04:00
parent 6cb0cb300c
commit e525bb16ea
4 changed files with 4 additions and 7 deletions

View File

@@ -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;