diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-12-02 05:57:56 +0000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-12-02 05:57:56 +0000 |
commit | 3051f3be9cbdd6ca8a70a83718700842326fba41 (patch) | |
tree | 0db00f9c4a34205b0b9749de9dc08d572c66ada2 /src/btree | |
parent | ba0b7f26cf8ba5b6e1434fb6f1500726e25f489f (diff) | |
parent | 0bc4f8f2dc7b51a86d6e8c120f48264af1e500af (diff) | |
download | mongo-3051f3be9cbdd6ca8a70a83718700842326fba41.tar.gz |
Merge branch 'mongodb-3.0' into server_21553_30backport
Diffstat (limited to 'src/btree')
-rw-r--r-- | src/btree/bt_split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_split.c b/src/btree/bt_split.c index c77dfdcf5e3..9aaa157e29b 100644 --- a/src/btree/bt_split.c +++ b/src/btree/bt_split.c @@ -502,7 +502,7 @@ __split_deepen(WT_SESSION_IMPL *session, WT_PAGE *parent) * array, a thread might see a freed WT_REF. Set the eviction * transaction requirement for the newly created internal pages. */ - child->modify->mod_split_txn = __wt_txn_new_id(session); + child->modify->mod_split_txn = __wt_txn_id_alloc(session, false); /* * The newly allocated child's page index references the same @@ -1398,7 +1398,7 @@ __split_insert(WT_SESSION_IMPL *session, WT_REF *ref) * threads will not try to forcibly evict the page again until * all concurrent transactions commit. */ - page->modify->inmem_split_txn = __wt_txn_new_id(session); + page->modify->inmem_split_txn = __wt_txn_id_alloc(session, false); /* * Update the page accounting. |