summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2015-03-02 17:41:21 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2015-03-02 17:41:21 +1100
commitd3dfa7aedccab935b4a41aff07e88fefce3c3a45 (patch)
treed2787c1a5bbd63b01a03580aef442585e3d3356c
parent0a0ab6973c6ae556ffc8d07d544279809f78cc57 (diff)
downloadmongo-d3dfa7aedccab935b4a41aff07e88fefce3c3a45.tar.gz
Fixup error handling on non-force handle close.
-rw-r--r--src/conn/conn_dhandle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_dhandle.c b/src/conn/conn_dhandle.c
index 78440216bdc..80a74183f35 100644
--- a/src/conn/conn_dhandle.c
+++ b/src/conn/conn_dhandle.c
@@ -737,7 +737,7 @@ __wt_conn_dhandle_discard_single(WT_SESSION_IMPL *session, int final)
__wt_err(session, tret,
"Final close of %s failed", dhandle->name);
WT_TRET(tret);
- } else
+ } else if (!final)
WT_RET(tret);
}