diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-07-16 15:30:55 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-16 06:02:32 +0000 |
commit | 4b4f320b0c2726748ab46d2c1a9b025b8e4f9365 (patch) | |
tree | 8c7e5160eb717afad937b058a202e4020b7ed68f /src/third_party/wiredtiger/src/history | |
parent | e9837b379acbc1bd0096dced516b1e160df186da (diff) | |
download | mongo-4b4f320b0c2726748ab46d2c1a9b025b8e4f9365.tar.gz |
Import wiredtiger: 19190bd88d594f5f7ab02303afc6f59dd4f0ea60 from branch mongodb-master
ref: 0d87872310..19190bd88d
for: 5.1.0
WT-7837 Clear updates structure in wt_hs_insert_updates to avoid firing assert
Diffstat (limited to 'src/third_party/wiredtiger/src/history')
-rw-r--r-- | src/third_party/wiredtiger/src/history/hs_rec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/history/hs_rec.c b/src/third_party/wiredtiger/src/history/hs_rec.c index 907547f3dea..8375de8ffdf 100644 --- a/src/third_party/wiredtiger/src/history/hs_rec.c +++ b/src/third_party/wiredtiger/src/history/hs_rec.c @@ -714,6 +714,7 @@ __wt_hs_insert_updates(WT_SESSION_IMPL *session, WT_PAGE *page, WT_MULTI *multi, } #endif __wt_update_vector_clear(&out_of_order_ts_updates); + __wt_update_vector_clear(&updates); } WT_ERR(__wt_block_manager_named_size(session, WT_HS_FILE, &hs_size)); |