diff options
author | Matt Kangas <matt.kangas@mongodb.com> | 2015-01-06 08:58:01 -0500 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2015-01-06 08:58:01 -0500 |
commit | f9bdad71e16409017df02058d2579cf659ef2e44 (patch) | |
tree | bea79aa5d70bcdb81b1a0be6d7fefdbe249552ef /src/third_party/wiredtiger/src/lsm | |
parent | 3ec53687da4702d348f1b55eda5e01bd26f36c4b (diff) | |
download | mongo-f9bdad71e16409017df02058d2579cf659ef2e44.tar.gz |
Import wiredtiger-wiredtiger-2.5.0-36-g94ac478.tar.gz from wiredtiger branch mongodb-2.8
Diffstat (limited to 'src/third_party/wiredtiger/src/lsm')
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_cursor.c | 5 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_manager.c | 1 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_merge.c | 1 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_meta.c | 3 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_stat.c | 3 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_tree.c | 7 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_work_unit.c | 1 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/lsm/lsm_worker.c | 1 |
8 files changed, 15 insertions, 7 deletions
diff --git a/src/third_party/wiredtiger/src/lsm/lsm_cursor.c b/src/third_party/wiredtiger/src/lsm/lsm_cursor.c index b7104eecb9d..2dfaea1ec3a 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_cursor.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_cursor.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -1314,7 +1315,7 @@ __clsm_insert(WT_CURSOR *cursor) WT_ERR(__clsm_deleted_encode(session, &cursor->value, &value, &buf)); ret = __clsm_put(session, clsm, &cursor->key, &value, 0); -err: __wt_scr_free(&buf); +err: __wt_scr_free(session, &buf); WT_TRET(__clsm_leave(clsm)); CURSOR_UPDATE_API_END(session, ret); return (ret); @@ -1347,7 +1348,7 @@ __clsm_update(WT_CURSOR *cursor) ret = __clsm_put(session, clsm, &cursor->key, &value, 1); } -err: __wt_scr_free(&buf); +err: __wt_scr_free(session, &buf); WT_TRET(__clsm_leave(clsm)); CURSOR_UPDATE_API_END(session, ret); return (ret); diff --git a/src/third_party/wiredtiger/src/lsm/lsm_manager.c b/src/third_party/wiredtiger/src/lsm/lsm_manager.c index 319bc734d6d..27bdf526ba2 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_manager.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_manager.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * diff --git a/src/third_party/wiredtiger/src/lsm/lsm_merge.c b/src/third_party/wiredtiger/src/lsm/lsm_merge.c index 8989e979a44..8724807432c 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_merge.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_merge.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * diff --git a/src/third_party/wiredtiger/src/lsm/lsm_meta.c b/src/third_party/wiredtiger/src/lsm/lsm_meta.c index 7fd77b64720..f9bf10ca208 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_meta.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_meta.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -234,6 +235,6 @@ __wt_lsm_meta_write(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree) ret = __wt_metadata_update(session, lsm_tree->name, buf->data); WT_ERR(ret); -err: __wt_scr_free(&buf); +err: __wt_scr_free(session, &buf); return (ret); } diff --git a/src/third_party/wiredtiger/src/lsm/lsm_stat.c b/src/third_party/wiredtiger/src/lsm/lsm_stat.c index bd11e982442..e994300d4d3 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_stat.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_stat.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -139,7 +140,7 @@ __curstat_lsm_init( err: if (locked) WT_TRET(__wt_lsm_tree_readunlock(session, lsm_tree)); __wt_lsm_tree_release(session, lsm_tree); - __wt_scr_free(&uribuf); + __wt_scr_free(session, &uribuf); return (ret); } diff --git a/src/third_party/wiredtiger/src/lsm/lsm_tree.c b/src/third_party/wiredtiger/src/lsm/lsm_tree.c index 2e61bcbacc8..ed09d7544a8 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_tree.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_tree.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -171,7 +172,7 @@ __wt_lsm_tree_bloom_name(WT_SESSION_IMPL *session, session, tmp, "file:%s-%06" PRIu32 ".bf", lsm_tree->filename, id)); WT_ERR(__wt_strndup(session, tmp->data, tmp->size, retp)); -err: __wt_scr_free(&tmp); +err: __wt_scr_free(session, &tmp); return (ret); } @@ -191,7 +192,7 @@ __wt_lsm_tree_chunk_name(WT_SESSION_IMPL *session, session, tmp, "file:%s-%06" PRIu32 ".lsm", lsm_tree->filename, id)); WT_ERR(__wt_strndup(session, tmp->data, tmp->size, retp)); -err: __wt_scr_free(&tmp); +err: __wt_scr_free(session, &tmp); return (ret); } @@ -428,7 +429,7 @@ __wt_lsm_tree_create(WT_SESSION_IMPL *session, if (0) { err: WT_TRET(__lsm_tree_discard(session, lsm_tree, 0)); } - __wt_scr_free(&buf); + __wt_scr_free(session, &buf); return (ret); } diff --git a/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c b/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c index 81a588af84d..980d910ff33 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_work_unit.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * diff --git a/src/third_party/wiredtiger/src/lsm/lsm_worker.c b/src/third_party/wiredtiger/src/lsm/lsm_worker.c index 703453305ba..a376a81f4eb 100644 --- a/src/third_party/wiredtiger/src/lsm/lsm_worker.c +++ b/src/third_party/wiredtiger/src/lsm/lsm_worker.c @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * |