Skip to content

Commit 8aa578d

Browse files
committed
save the invalid address before put it back the free ext
1 parent 716e1a5 commit 8aa578d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/third_party/wiredtiger/src/reconcile/rec_write.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5501,6 +5501,10 @@ __rec_write_wrapup(WT_SESSION_IMPL *session, WT_RECONCILE *r, WT_PAGE *page)
55015501
* are checkpoints, and must be explicitly dropped.
55025502
*/
55035503
if (!__wt_ref_is_root(ref))
5504+
#if defined (TDN_TRIM5)
5505+
/* Get the old address*/
5506+
__trim_save_address(bm, mod->mod_replace.addr);
5507+
#endif //TND_TRIM5
55045508
WT_RET(__wt_btree_block_free(session,
55055509
mod->mod_replace.addr, mod->mod_replace.size));
55065510

0 commit comments

Comments
 (0)