diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/btree.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/btree.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/btree.h b/src/third_party/wiredtiger/src/include/btree.h index b2f6ba2dfb1..8fe26d5261b 100644 --- a/src/third_party/wiredtiger/src/include/btree.h +++ b/src/third_party/wiredtiger/src/include/btree.h @@ -12,7 +12,13 @@ #define WT_BTREE_MAJOR_VERSION_MIN 1 /* Oldest version supported */ #define WT_BTREE_MINOR_VERSION_MIN 1 +/* Increase the version number for standalone build. */ +#ifdef WT_STANDALONE_BUILD +#define WT_BTREE_MAJOR_VERSION_MAX 2 /* Newest version supported */ +#else #define WT_BTREE_MAJOR_VERSION_MAX 1 /* Newest version supported */ +#endif + #define WT_BTREE_MINOR_VERSION_MAX 1 #define WT_BTREE_MIN_ALLOC_SIZE 512 |