diff options
Diffstat (limited to 'src/meta/meta_track.c')
-rw-r--r-- | src/meta/meta_track.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/meta/meta_track.c b/src/meta/meta_track.c index f352af2193a..8d3b16fbc84 100644 --- a/src/meta/meta_track.c +++ b/src/meta/meta_track.c @@ -112,8 +112,6 @@ __meta_track_apply(WT_SESSION_IMPL *session, WT_META_TRACK *trk, int unroll) case WT_ST_LOCK: /* Handle lock, see above */ saved_btree = session->btree; session->btree = trk->btree; - if (session->created_btree == trk->btree) - session->created_btree = NULL; WT_TRET(__wt_session_release_btree(session)); session->btree = saved_btree; break; @@ -133,9 +131,6 @@ __meta_track_apply(WT_SESSION_IMPL *session, WT_META_TRACK *trk, int unroll) WT_TRET(tret); } else if (trk->a == NULL) { saved_btree = session->btree; - if ((session->btree = session->created_btree) != NULL) - WT_TRET( - __wt_conn_btree_sync_and_close(session)); session->btree = saved_btree; if ((tret = __wt_remove(session, trk->b + strlen("file:"))) != 0) { |