summaryrefslogtreecommitdiff
path: root/src/lsm/lsm_merge.c
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2012-09-14 16:03:54 +1000
committerAlex Gorrod <alexg@wiredtiger.com>2012-09-14 16:03:54 +1000
commit38c64febea6234cb3571af406c2d4b94c2fd4492 (patch)
treeeb9aa7bdab0f5c3057195c1db37b136be766ab11 /src/lsm/lsm_merge.c
parentf1cc2d26205fbbbe10a9253989672288e64e03ec (diff)
downloadmongo-38c64febea6234cb3571af406c2d4b94c2fd4492.tar.gz
Fix some minor issues in LSM.
Diffstat (limited to 'src/lsm/lsm_merge.c')
-rw-r--r--src/lsm/lsm_merge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lsm/lsm_merge.c b/src/lsm/lsm_merge.c
index 7e871cc39d3..5e295bbb3f9 100644
--- a/src/lsm/lsm_merge.c
+++ b/src/lsm/lsm_merge.c
@@ -20,6 +20,7 @@ __lsm_merge_update_tree(WT_SESSION_IMPL *session,
size_t chunk_sz;
int i, j;
+ /* Setup the array of obsolete chunks. */
if (nchunks > lsm_tree->old_avail) {
chunk_sz = sizeof(*lsm_tree->old_chunks);
WT_RET(__wt_realloc(session,