mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-25 21:54:28 +08:00
mdbx: cleanup extra changes after the 5c6d91f7c
.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user