summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/btmem.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-11-13 15:57:42 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-13 05:15:33 +0000
commit8bb9ed7824835cdfd146d642468508c01ea087ad (patch)
tree25118dd8dabdc8e892057067583845f47547aaad /src/third_party/wiredtiger/src/include/btmem.h
parent6dc4a4eaf4acc7472590040fa5795901b5140fc5 (diff)
downloadmongo-8bb9ed7824835cdfd146d642468508c01ea087ad.tar.gz
Import wiredtiger: 0ab3e59875ecfabbe3cd9d19c0c3e05b72bad1cf from branch mongodb-5.0
ref: 5f9a0178f2..0ab3e59875 for: 4.9.0 WT-6449 Hang analyzer for WT Evergreen tests WT-6706 Add table import repair functionality WT-6816 Design write gen scheme to allow dhandles with active history to get closed/re-opened WT-6857 Define a new cursor for the history store access.
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, 7 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/include/btmem.h b/src/third_party/wiredtiger/src/include/btmem.h
index b066bcde18f..3cc12d78e74 100644
--- a/src/third_party/wiredtiger/src/include/btmem.h
+++ b/src/third_party/wiredtiger/src/include/btmem.h
@@ -235,11 +235,13 @@ struct __wt_ovfl_reuse {
#else
#define WT_HS_COMPRESSOR "none"
#endif
-#define WT_HS_CONFIG \
- "key_format=" WT_UNCHECKED_STRING(IuQQ) ",value_format=" WT_UNCHECKED_STRING( \
- QQQu) ",block_compressor=" WT_HS_COMPRESSOR \
- ",leaf_value_max=64MB" \
- ",prefix_compression=false"
+#define WT_HS_KEY_FORMAT WT_UNCHECKED_STRING(IuQQ)
+#define WT_HS_VALUE_FORMAT WT_UNCHECKED_STRING(QQQu)
+#define WT_HS_CONFIG \
+ "key_format=" WT_HS_KEY_FORMAT ",value_format=" WT_HS_VALUE_FORMAT \
+ ",block_compressor=" WT_HS_COMPRESSOR \
+ ",leaf_value_max=64MB" \
+ ",prefix_compression=false"
/*
* WT_PAGE_MODIFY --