mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 18:24:13 +08:00
mdbx: force mdbx_page_get()
to inline.
This commit is contained in:
parent
78170a5750
commit
fb25648b9c
@ -3733,7 +3733,7 @@ static int mdbx_txn_end(MDBX_txn *txn, const unsigned mode);
|
|||||||
|
|
||||||
__hot static struct page_result __must_check_result
|
__hot static struct page_result __must_check_result
|
||||||
mdbx_page_get_ex(MDBX_cursor *const mc, const pgno_t pgno, txnid_t front);
|
mdbx_page_get_ex(MDBX_cursor *const mc, const pgno_t pgno, txnid_t front);
|
||||||
static __inline int __must_check_result mdbx_page_get(MDBX_cursor *mc,
|
static __always_inline int __must_check_result mdbx_page_get(MDBX_cursor *mc,
|
||||||
pgno_t pgno,
|
pgno_t pgno,
|
||||||
MDBX_page **mp,
|
MDBX_page **mp,
|
||||||
txnid_t front) {
|
txnid_t front) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user