Commit 9c1875d3 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1868 Delete unnecessary assert

Done to main and 2.1.0
refs [t:1868]

git-svn-id: file:///svn/toku/tokudb@13485 c7de825b-a66e-492c-adef-691d508d4ae1
parent b6c03d45
......@@ -4663,7 +4663,6 @@ toku_brt_note_table_lock (BRT brt, TOKUTXN txn)
if (brt->h->txnid_that_created_or_locked_when_empty != toku_txn_get_txnid(txn) &&
brt_is_empty(brt, toku_txn_logger(txn)) &&
brt->h->txnid_that_created_or_locked_when_empty == 0) {
assert(brt->h->txnid_that_created_or_locked_when_empty == 0);
brt->h->txnid_that_created_or_locked_when_empty = toku_txn_get_txnid(txn);
int r = toku_txn_note_brt(txn, brt);
assert(r==0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment