diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-05-11 16:34:01 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-11 06:59:30 +0000 |
commit | 53b252b212696c6ad85508f6db9e51724296fcd1 (patch) | |
tree | cf2bb72d8c22fe4cb2bf3df1ec2f1c3b91092326 /src/third_party/wiredtiger/src/btree/bt_split.c | |
parent | 25040e38149fec631205966b5dc90eb55b9be182 (diff) | |
download | mongo-53b252b212696c6ad85508f6db9e51724296fcd1.tar.gz |
Import wiredtiger: 7a0717c8cfdabbc0470b5e322c737bb45f7ca6df from branch mongodb-5.0
ref: 7840141fbf..7a0717c8cf
for: 5.0.0
WT-7506 Allow single and double quotes inside auto-formatted comments
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_split.c')
-rw-r--r-- | src/third_party/wiredtiger/src/btree/bt_split.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_split.c b/src/third_party/wiredtiger/src/btree/bt_split.c index 765d9240657..6fc62f0a52b 100644 --- a/src/third_party/wiredtiger/src/btree/bt_split.c +++ b/src/third_party/wiredtiger/src/btree/bt_split.c @@ -1782,14 +1782,12 @@ __split_insert(WT_SESSION_IMPL *session, WT_REF *ref) if (type == WT_PAGE_ROW_LEAF) { /* - * Copy the first key from the original page into first ref in - * the new parent. Pages created in memory always have a - * "smallest" insert list, so look there first. If we don't - * find one, get the first key from the disk image. + * Copy the first key from the original page into first ref in the new parent. Pages created + * in memory always have a "smallest" insert list, so look there first. If we don't find + * one, get the first key from the disk image. * - * We can't just use the key from the original ref: it may have - * been suffix-compressed, and after the split the truncated key - * may not be valid. + * We can't just use the key from the original ref: it may have been suffix-compressed, and + * after the split the truncated key may not be valid. */ WT_ERR(__wt_scr_alloc(session, 0, &key)); if ((ins = WT_SKIP_FIRST(WT_ROW_INSERT_SMALLEST(page))) != NULL) { |