diff options
author | Ramon Fernandez <ramon.fernandez@mongodb.com> | 2015-03-09 11:02:22 -0400 |
---|---|---|
committer | Ramon Fernandez <ramon.fernandez@mongodb.com> | 2015-03-09 11:02:22 -0400 |
commit | c5b0ff8c1d063ced62da89446f675a05d1181816 (patch) | |
tree | ba56e7d9470453c83561df59435babab3a42f722 /src/third_party/wiredtiger/src/conn/conn_open.c | |
parent | af56dea51db8d96773ed541927522ee18ff96f31 (diff) | |
download | mongo-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.c | 6 |
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)); |