mdbx: cleanup extra changes after the 5c6d91f7c.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-08-24 09:32:16 +03:00
parent 109858b994
commit e03f16999c

View File

@@ -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;