diff options
Diffstat (limited to 'src/btree/bt_evict.c')
-rw-r--r-- | src/btree/bt_evict.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/bt_evict.c b/src/btree/bt_evict.c index cbf8a350237..69b633409bf 100644 --- a/src/btree/bt_evict.c +++ b/src/btree/bt_evict.c @@ -692,7 +692,8 @@ err: /* On error, clear any left-over tree walk. */ if (txn_state != NULL) txn_state->snap_min = WT_TXN_NONE; - else if (txn->isolation == TXN_ISO_READ_COMMITTED) + else if (txn->isolation == TXN_ISO_READ_COMMITTED && + !F_ISSET(txn, TXN_PINNED)) __wt_txn_release_snapshot(session); if (WT_VERBOSE_ISSET(session, checkpoint)) { |