mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:14:12 +08:00
lmdb: Fix typo in mdb_tassert().
No effect on current code. Change-Id: Ia935ba784c33e3704ea1cfa1d59a1f28d2c527f8
This commit is contained in:
parent
3f27fb7822
commit
305ba98967
2
mdb.c
2
mdb.c
@ -1381,7 +1381,7 @@ mdb_debug_log(int type, const char *function, int line,
|
|||||||
mdb_assert((mc)->mc_txn->mt_env, expr)
|
mdb_assert((mc)->mc_txn->mt_env, expr)
|
||||||
|
|
||||||
/** assert(3) variant in transaction context */
|
/** assert(3) variant in transaction context */
|
||||||
#define mdb_tassert(mc, expr) \
|
#define mdb_tassert(txn, expr) \
|
||||||
mdb_assert((txn)->mt_env, expr)
|
mdb_assert((txn)->mt_env, expr)
|
||||||
|
|
||||||
/** Return the page number of \b mp which may be sub-page, for debug output */
|
/** Return the page number of \b mp which may be sub-page, for debug output */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user