diff options
Diffstat (limited to 'src/btree/bt_split.c')
-rw-r--r-- | src/btree/bt_split.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/btree/bt_split.c b/src/btree/bt_split.c index b553a823b2e..7d7e88db918 100644 --- a/src/btree/bt_split.c +++ b/src/btree/bt_split.c @@ -1067,7 +1067,7 @@ err: if (!complete) * list into a separate page. */ int -__wt_split_insert(WT_SESSION_IMPL *session, WT_REF *ref, int *splitp) +__wt_split_insert(WT_SESSION_IMPL *session, WT_REF *ref) { WT_DECL_RET; WT_DECL_ITEM(key); @@ -1078,8 +1078,6 @@ __wt_split_insert(WT_SESSION_IMPL *session, WT_REF *ref, int *splitp) size_t page_decr, parent_incr, right_incr; int i; - *splitp = 0; - page = ref->page; right = NULL; page_decr = parent_incr = right_incr = 0; @@ -1315,9 +1313,6 @@ __wt_split_insert(WT_SESSION_IMPL *session, WT_REF *ref, int *splitp) WT_ERR(ret); } - /* Let our caller know that we split. */ - *splitp = 1; - WT_STAT_FAST_CONN_INCR(session, cache_inmem_split); WT_STAT_FAST_DATA_INCR(session, cache_inmem_split); |