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/lsm/lsm_cursor.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/lsm/lsm_cursor.c')
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_cursor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/lsm/lsm_cursor.c b/src/third_party/wiredtiger/src/lsm/lsm_cursor.c index d2093a26ecb..4c3aa2a3204 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_cursor.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_cursor.c @@ -1281,10 +1281,9 @@ __clsm_search_near(WT_CURSOR *cursor, int *exactp) } /* - * Prefer larger cursors. There are two reasons: (1) we expect - * prefix searches to be a common case (as in our own indices); - * and (2) we need a way to unambiguously know we have the - * "closest" result. + * Prefer larger cursors. There are two reasons: (1) we expect prefix searches to be a + * common case (as in our own indices); and (2) we need a way to unambiguously know we have + * the "closest" result. */ if (cmp < 0) { if ((ret = c->next(c)) == WT_NOTFOUND) { |