summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/btree/bt_split.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-08-29 11:05:08 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-29 01:37:38 +0000
commite22bd8afe5610349bcd23233823344aa6fc661f0 (patch)
treecc93337e9f5b65630b64987590cce1d40f40febf /src/third_party/wiredtiger/src/btree/bt_split.c
parentf12ae2c7f820f014aca5ff6194a9eb69078b6962 (diff)
downloadmongo-e22bd8afe5610349bcd23233823344aa6fc661f0.tar.gz
Import wiredtiger: d619c325f86cd59ee25d4bcf43b738afcf7bfdf9 from branch mongodb-master
ref: 478f555081..d619c325f8 for: 6.2.0-rc0 WT-9720 Clean up and reorganize the fast-truncate code (#8188)
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_split.c')
-rw-r--r--src/third_party/wiredtiger/src/btree/bt_split.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_split.c b/src/third_party/wiredtiger/src/btree/bt_split.c
index cf719a791aa..a48210bd5bc 100644
--- a/src/third_party/wiredtiger/src/btree/bt_split.c
+++ b/src/third_party/wiredtiger/src/btree/bt_split.c
@@ -607,7 +607,7 @@ __split_parent_discard_ref(WT_SESSION_IMPL *session, WT_REF *ref, WT_PAGE *paren
}
/* Free any backing fast-truncate memory. */
- __wt_free(session, ref->ft_info.del);
+ __wt_free(session, ref->page_del);
/* Free the backing block and address. */
WT_TRET(__wt_ref_block_free(session, ref));
@@ -1780,7 +1780,6 @@ __split_insert(WT_SESSION_IMPL *session, WT_REF *ref)
*/
WT_ASSERT(session, __wt_leaf_page_can_split(session, page));
WT_ASSERT(session, __wt_page_is_modified(page));
- WT_ASSERT(session, ref->ft_info.del == NULL);
F_SET_ATOMIC_16(page, WT_PAGE_SPLIT_INSERT); /* Only split in-memory once. */