diff options
Diffstat (limited to 'src/btree/bt_delete.c')
-rw-r--r-- | src/btree/bt_delete.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/btree/bt_delete.c b/src/btree/bt_delete.c index ba16dd204e8..54b7fedb31d 100644 --- a/src/btree/bt_delete.c +++ b/src/btree/bt_delete.c @@ -288,10 +288,9 @@ __wt_delete_page_instantiate(WT_SESSION_IMPL *session, WT_REF *ref) * read-only or if the application never modifies the tree, we're not * able to do so.) */ - if (btree->modified) { - WT_RET(__wt_page_modify_init(session, page)); + WT_RET(__wt_page_modify_init(session, page)); + if (btree->modified) __wt_page_modify_set(session, page); - } /* * An operation is accessing a "deleted" page, and we're building an @@ -326,7 +325,7 @@ __wt_delete_page_instantiate(WT_SESSION_IMPL *session, WT_REF *ref) /* Allocate the per-page update array. */ WT_ERR(__wt_calloc_def(session, page->pg_row_entries, &upd_array)); - page->pg_row_upd = upd_array; + page->modify->mod_row_update = upd_array; /* * Fill in the per-reference update array with references to update |