summaryrefslogtreecommitdiff
path: root/src/conn/conn_handle.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-06-25 15:23:17 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-06-25 15:23:17 +1000
commit5ab2ad4a045dee9021bd58298a34825339e2677b (patch)
tree55c28d16147d005381e54d4d57cc75f93e953fdf /src/conn/conn_handle.c
parente6e4d4e2724720d23352d8f07ae5c3108d15b8db (diff)
downloadmongo-5ab2ad4a045dee9021bd58298a34825339e2677b.tar.gz
Use a split generation number to determine when memory replaced by a split can be freed.
Diffstat (limited to 'src/conn/conn_handle.c')
-rw-r--r--src/conn/conn_handle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conn/conn_handle.c b/src/conn/conn_handle.c
index a6c52678fbf..017658bafe4 100644
--- a/src/conn/conn_handle.c
+++ b/src/conn/conn_handle.c
@@ -28,6 +28,8 @@ __wt_connection_init(WT_CONNECTION_IMPL *conn)
TAILQ_INIT(&conn->lsmqh); /* WT_LSM_TREE list */
+ conn->split_gen = 1;
+
/* Configuration. */
WT_RET(__wt_conn_config_init(session));