diff --git a/src/tree-ops.c b/src/tree-ops.c index 169a8fe6..61429d82 100644 --- a/src/tree-ops.c +++ b/src/tree-ops.c @@ -932,17 +932,8 @@ retry: return MDBX_PROBLEM; } -static int do_page_split(MDBX_cursor *mc, const MDBX_val *const newkey, MDBX_val *const newdata, pgno_t newpgno, - const unsigned naf); - int page_split(MDBX_cursor *mc, const MDBX_val *const newkey, MDBX_val *const newdata, pgno_t newpgno, const unsigned naf) { - int rc = do_page_split(mc, newkey, newdata, newpgno, naf); - return rc; -} - -int do_page_split(MDBX_cursor *mc, const MDBX_val *const newkey, MDBX_val *const newdata, pgno_t newpgno, - const unsigned naf) { unsigned flags; int rc = MDBX_SUCCESS, foliage = 0; MDBX_env *const env = mc->txn->env;