Skip to content

Commit f1e07f9

Browse files
committed
Fix typo in mdb_tassert().
No effect on current code.
1 parent 56adc46 commit f1e07f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/liblmdb/mdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ mdb_strerror(int err)
14291429
/** assert(3) variant in cursor context */
14301430
#define mdb_cassert(mc, expr) mdb_assert0((mc)->mc_txn->mt_env, expr, #expr)
14311431
/** assert(3) variant in transaction context */
1432-
#define mdb_tassert(mc, expr) mdb_assert0((txn)->mt_env, expr, #expr)
1432+
#define mdb_tassert(txn, expr) mdb_assert0((txn)->mt_env, expr, #expr)
14331433
/** assert(3) variant in environment context */
14341434
#define mdb_eassert(env, expr) mdb_assert0(env, expr, #expr)
14351435

0 commit comments

Comments
 (0)