summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_open.c
diff options
context:
space:
mode:
authorRamon Fernandez <ramon.fernandez@mongodb.com>2015-03-09 11:02:22 -0400
committerRamon Fernandez <ramon.fernandez@mongodb.com>2015-03-09 11:02:22 -0400
commitc5b0ff8c1d063ced62da89446f675a05d1181816 (patch)
treeba56e7d9470453c83561df59435babab3a42f722 /src/third_party/wiredtiger/src/conn/conn_open.c
parentaf56dea51db8d96773ed541927522ee18ff96f31 (diff)
downloadmongo-c5b0ff8c1d063ced62da89446f675a05d1181816.tar.gz
Import wiredtiger-wiredtiger-2.5.1-144-g3a3bda5.tar.gz from wiredtiger branch mongodb-3.0
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_open.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_open.c b/src/third_party/wiredtiger/src/conn/conn_open.c
index d4f6cf4869c..0a3d35ac0b1 100644
--- a/src/third_party/wiredtiger/src/conn/conn_open.c
+++ b/src/third_party/wiredtiger/src/conn/conn_open.c
@@ -55,9 +55,6 @@ __wt_connection_open(WT_CONNECTION_IMPL *conn, const char *cfg[])
*/
WT_WRITE_BARRIER();
- /* Connect to a cache pool. */
- WT_RET(__wt_cache_pool_config(session, cfg));
-
/* Create the cache. */
WT_RET(__wt_cache_create(session, cfg));
@@ -113,6 +110,9 @@ __wt_connection_close(WT_CONNECTION_IMPL *conn)
F_CLR(conn, WT_CONN_SERVER_RUN);
WT_TRET(__wt_async_destroy(session));
WT_TRET(__wt_lsm_manager_destroy(session));
+
+ F_SET(conn, WT_CONN_CLOSING);
+
WT_TRET(__wt_checkpoint_server_destroy(session));
WT_TRET(__wt_statlog_destroy(session, 1));
WT_TRET(__wt_sweep_destroy(session));