summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/session/session_dhandle.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-11-02 11:55:14 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-11-02 11:55:14 +1100
commitfb6ebe75207c3221314ed318595489a838ef1db0 (patch)
tree6b9b210b15f9b9685b9a5dd707001297127ee1d3 /src/third_party/wiredtiger/src/session/session_dhandle.c
parent4fbfa13ec0f819080a35ed8b528a030797e483a6 (diff)
downloadmongo-fb6ebe75207c3221314ed318595489a838ef1db0.tar.gz
Import wiredtiger-wiredtiger-mongodb-3.2.0-rc1-194-g0dc3f20.tar.gz from wiredtiger branch mongodb-3.2
Diffstat (limited to 'src/third_party/wiredtiger/src/session/session_dhandle.c')
-rw-r--r--src/third_party/wiredtiger/src/session/session_dhandle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/session/session_dhandle.c b/src/third_party/wiredtiger/src/session/session_dhandle.c
index e506b6848a1..346e9c0ab38 100644
--- a/src/third_party/wiredtiger/src/session/session_dhandle.c
+++ b/src/third_party/wiredtiger/src/session/session_dhandle.c
@@ -541,14 +541,6 @@ __wt_session_lock_checkpoint(WT_SESSION_IMPL *session, const char *checkpoint)
saved_dhandle = session->dhandle;
/*
- * If we already have the checkpoint locked, don't attempt to lock
- * it again.
- */
- if ((ret = __wt_meta_track_find_handle(
- session, saved_dhandle->name, checkpoint)) != WT_NOTFOUND)
- return (ret);
-
- /*
* Get the checkpoint handle exclusive, so no one else can access it
* while we are creating the new checkpoint.
*/