Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/jrd/tpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,6 @@ void TipCache::loadInventoryPages(thread_db* tdbb, GlobalTpcHeader* header)
header->oldest_transaction.store(hdr_oldest_transaction, std::memory_order_relaxed);
header->latest_attachment_id.store(hdr_attachment_id, std::memory_order_relaxed);

// Check if TIP has any interesting transactions.
// At database creation time, it doesn't and the code below breaks
// if there isn't a single one transaction to care about.
if (hdr_oldest_transaction >= hdr_next_transaction)
return;

// Round down the oldest to a multiple of four, which puts the
// transaction in temporary buffer on a byte boundary
TraNumber base = hdr_oldest_transaction & ~TRA_MASK;
Expand Down
Loading