summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/api_calc_modify.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2018-12-17 15:19:04 +1100
committerLuke Chen <luke.chen@mongodb.com>2018-12-17 15:19:04 +1100
commit0a29c7a7c5737b0e6027cf4cb01828b1abd8f41c (patch)
treeb81a77c211f7e41a58a9eeb5612c4e38a796e682 /src/third_party/wiredtiger/src/conn/api_calc_modify.c
parent53d8b294b81f70ec183f5d95be6440ecc5f8a728 (diff)
downloadmongo-0a29c7a7c5737b0e6027cf4cb01828b1abd8f41c.tar.gz
Import wiredtiger: d5793d4dd57bb763079e3f79821444e7e666ff44 from branch mongodb-4.2
ref: 5812c92f5f..d5793d4dd5 for: 4.1.7 WT-4280 Add debugging to know which session has a hazard pointer WT-4430 Fix race between prepare and page instantiate with fast truncate WT-4482 lint
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/api_calc_modify.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/api_calc_modify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/conn/api_calc_modify.c b/src/third_party/wiredtiger/src/conn/api_calc_modify.c
index 6de88644f79..a5a7fdff2b7 100644
--- a/src/third_party/wiredtiger/src/conn/api_calc_modify.c
+++ b/src/third_party/wiredtiger/src/conn/api_calc_modify.c
@@ -151,7 +151,7 @@ wiredtiger_calc_modify(WT_SESSION *wt_session,
* in the post-image without finding a good match, double the size of
* the gap, update the markers and keep trying.
*/
- h = hstart = hend = 0;
+ hstart = hend = 0;
i = gap = 0;
for (p1 = cms.used1, p2 = cms.used2, start = true;
p1 + WT_CM_BLOCKSIZE <= cms.e1 && p2 + WT_CM_BLOCKSIZE <= cms.e2;