summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/btmem.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2018-12-27 13:48:37 +1100
committerLuke Chen <luke.chen@mongodb.com>2018-12-27 13:48:37 +1100
commit9ff8d7452ddf7370fc9047ebe9517fd7558914e6 (patch)
tree582219e9112051f579005f48781c0f6f9fb29ea8 /src/third_party/wiredtiger/src/include/btmem.h
parent62c7e599ba211209eb93ae8f652d17fc8f6c251f (diff)
downloadmongo-9ff8d7452ddf7370fc9047ebe9517fd7558914e6.tar.gz
Import wiredtiger: e6c1b9724ed6ed2879a36d7e140f4fa9daceb261 from branch mongodb-4.2
ref: d5793d4dd5..e6c1b9724e for: 4.1.7 WT-4366 Fix how test/format handles prepare conflict errors WT-4426 Change WT data format to include timestamps in leaf page key/value cells WT-4475 clang detected memory leak while executing csuite tests WT-4499 Fix prepared transactions for cursor key order check failure WT-4506 Bypass some csuite tests for valgrind
Diffstat (limited to 'src/third_party/wiredtiger/src/include/btmem.h')
-rw-r--r--src/third_party/wiredtiger/src/include/btmem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/src/include/btmem.h b/src/third_party/wiredtiger/src/include/btmem.h
index b9b66bf0c7b..3f5472ac66a 100644
--- a/src/third_party/wiredtiger/src/include/btmem.h
+++ b/src/third_party/wiredtiger/src/include/btmem.h
@@ -80,12 +80,12 @@ struct __wt_page_header {
#define WT_PAGE_LAS_UPDATE 0x10u /* Page updates in lookaside store */
uint8_t flags; /* 25: flags */
- /*
- * End the structure with 2 bytes of padding: it wastes space, but it
- * leaves the structure 32-bit aligned and having a few bytes to play
- * with in the future can't hurt.
- */
- uint8_t unused[2]; /* 26-27: unused padding */
+ /* A byte of padding, positioned to be added to the flags. */
+ uint8_t unused; /* 26: unused padding */
+
+#define WT_PAGE_VERSION_ORIG 0 /* Original version */
+#define WT_PAGE_VERSION_TS 1 /* Timestamps added */
+ uint8_t version; /* 27: version */
};
/*
* WT_PAGE_HEADER_SIZE is the number of bytes we allocate for the structure: if