mirror of
https://github.com/isar/libmdbx.git
synced 2025-03-19 22:08:30 +08:00
lmdb: fix build non-debug mode (MDB_DEBUG=0).
Change-Id: I362a6bd03c73dca70bc6df5f72badf59e560389a
This commit is contained in:
parent
255fbfa303
commit
1171e4d73a
2
mdb.c
2
mdb.c
@ -3062,9 +3062,7 @@ static void
|
|||||||
mdb_txn_end(MDB_txn *txn, unsigned mode)
|
mdb_txn_end(MDB_txn *txn, unsigned mode)
|
||||||
{
|
{
|
||||||
MDB_env *env = txn->mt_env;
|
MDB_env *env = txn->mt_env;
|
||||||
#if MDB_DEBUG
|
|
||||||
static const char *const names[] = MDB_END_NAMES;
|
static const char *const names[] = MDB_END_NAMES;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Export or close DBI handles opened in this txn */
|
/* Export or close DBI handles opened in this txn */
|
||||||
mdb_dbis_update(txn, mode & MDB_END_UPDATE);
|
mdb_dbis_update(txn, mode & MDB_END_UPDATE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user