Skip to content

Commit

Permalink
Remove unnecessary assert #283
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Apr 12, 2024
1 parent a285d8a commit a96f379
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dependencies/lmdb/libraries/liblmdb/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -5039,7 +5039,6 @@ mdb_txn_commit(MDB_txn *txn)
sync_txn.mt_dbs[FREE_DBI] = m->mm_dbs[FREE_DBI];
sync_txn.mt_dbs[MAIN_DBI] = m->mm_dbs[MAIN_DBI];
sync_txn.mt_dbs[FREE_DBI].md_flags &= ~MDB_OVERLAPPINGSYNC; // clear this to indicate it is flushed txn
mdb_tassert(txn, txn_id <= m->mm_txnid);
sync_txn.mt_txnid = txn_id = m->mm_txnid;
sync_txn.mt_next_pgno = m->mm_last_pg + 1;
} while(ti->mti_txnid != txn_id); // avoid race condition in copying data by verifying that this is updated
Expand Down

0 comments on commit a96f379

Please sign in to comment.