mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-21 08:19:27 +08:00
mdbx: fix minor spelling.
Change-Id: Ibab66dc18c92b0ac4fa705e10befb34e268ee1f7
This commit is contained in:
@@ -4144,7 +4144,7 @@ int mdbx_dcmp(const MDBX_txn *txn, MDBX_dbi dbi, const MDBX_val *a,
|
||||
}
|
||||
|
||||
/* Allocate memory for a page.
|
||||
* Re-use old malloc'd pages first for singletons, otherwise just malloc.
|
||||
* Re-use old malloc'ed pages first for singletons, otherwise just malloc.
|
||||
* Set MDBX_TXN_ERROR on failure. */
|
||||
static MDBX_page *mdbx_page_malloc(MDBX_txn *txn, unsigned num) {
|
||||
MDBX_env *env = txn->mt_env;
|
||||
|
@@ -958,7 +958,7 @@ struct MDBX_env {
|
||||
uint16_t *me_dbflags; /* array of flags from MDBX_db.md_flags */
|
||||
unsigned *me_dbiseqs; /* array of dbi sequence numbers */
|
||||
atomic_txnid_t *me_oldest; /* ID of oldest reader last time we looked */
|
||||
MDBX_page *me_dp_reserve; /* list of malloc'd blocks for re-use */
|
||||
MDBX_page *me_dp_reserve; /* list of malloc'ed blocks for re-use */
|
||||
/* PNL of pages that became unused in a write txn */
|
||||
MDBX_PNL me_retired_pages;
|
||||
/* Number of freelist items that can fit in a single overflow page */
|
||||
|
Reference in New Issue
Block a user