mdbx: rename MDBX_CACHE_METAPTR build-time option.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-07-10 09:18:29 +03:00
parent 12d2879a9f
commit 149e708830
3 changed files with 28 additions and 31 deletions

View File

@@ -1189,10 +1189,10 @@ struct MDBX_env {
MDBX_txn *me_txn; /* current write transaction */
mdbx_fastmutex_t me_dbi_lock;
#if MDBX_CACHE_METAS
#if MDBX_CACHE_METAPTR
volatile const MDBX_meta *cache_last_meta;
volatile const MDBX_meta *cache_steady_meta;
#endif /* MDBX_CACHE_METAS */
#endif /* MDBX_CACHE_METAPTR */
MDBX_dbi me_numdbs; /* number of DBs opened */
MDBX_page *me_dp_reserve; /* list of malloc'ed blocks for re-use */