summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-12-03 15:39:07 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-12-03 15:39:07 +1100
commitda4fbf00fce2fc9881162e59bbfae694b1e4a1ce (patch)
tree1f069a32b43f4699e39c02e19c0ea769d9d8c345
parentfde1c1334ef15792a6e7a2ee8d01a78bb2fcdcee (diff)
downloadmongo-da4fbf00fce2fc9881162e59bbfae694b1e4a1ce.tar.gz
Don't try in-memory splits when closing a tree.
-rw-r--r--src/btree/rec_evict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/rec_evict.c b/src/btree/rec_evict.c
index e6014a41e16..4fec0f023de 100644
--- a/src/btree/rec_evict.c
+++ b/src/btree/rec_evict.c
@@ -369,7 +369,7 @@ __rec_review(WT_SESSION_IMPL *session, WT_REF *ref,
* that's not a problem here because we aren't evicting any dirty
* pages.
*/
- if (top) {
+ if (top && !exclusive) {
WT_RET(__wt_split_insert(session, ref, inmem_splitp));
if (*inmem_splitp)
return (0);