Commit 2ef08187 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 110754f5
...@@ -4663,7 +4663,6 @@ toku_brt_note_table_lock (BRT brt, TOKUTXN txn) ...@@ -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) && if (brt->h->txnid_that_created_or_locked_when_empty != toku_txn_get_txnid(txn) &&
brt_is_empty(brt, toku_txn_logger(txn)) && brt_is_empty(brt, toku_txn_logger(txn)) &&
brt->h->txnid_that_created_or_locked_when_empty == 0) { 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); brt->h->txnid_that_created_or_locked_when_empty = toku_txn_get_txnid(txn);
int r = toku_txn_note_brt(txn, brt); int r = toku_txn_note_brt(txn, brt);
assert(r==0); 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