summaryrefslogtreecommitdiff
path: root/src/session/session_api.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2015-01-14 09:09:33 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2015-01-14 09:09:33 +1100
commitd56476de123cd7c5bfced2ee50072dd5156a7ad8 (patch)
tree849962ffefb1976e45168d9b3eeaad4f21fdc600 /src/session/session_api.c
parenta02d92f9a546d6c326958cd24c2a0276e9bf72ee (diff)
parentcc5b59d0397b8535c2c5c528ca68c626617b4fd7 (diff)
downloadmongodb-2.8-rc5.tar.gz
Merge branch 'develop' into mongodb-2.8mongodb-2.8-rc5
Diffstat (limited to 'src/session/session_api.c')
-rw-r--r--src/session/session_api.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/session/session_api.c b/src/session/session_api.c
index 3ab5e0acab1..8ee143133ae 100644
--- a/src/session/session_api.c
+++ b/src/session/session_api.c
@@ -736,13 +736,6 @@ __session_begin_transaction(WT_SESSION *wt_session, const char *config)
if (F_ISSET(&session->txn, TXN_RUNNING))
WT_ERR_MSG(session, EINVAL, "Transaction already running");
- /*
- * There is no transaction active in this thread; check if the cache is
- * full, if we have to block for eviction, this is the best time to do
- * it.
- */
- WT_ERR(__wt_cache_full_check(session));
-
ret = __wt_txn_begin(session, cfg);
err: API_END_RET(session, ret);