MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / addPage

Method addPage

src/jrd/GarbageCollector.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54TraNumber GarbageCollector::RelationData::addPage(const ULONG pageno, const TraNumber tranid)
55{
56 TraNumber findTran = findPage(pageno, tranid);
57 if (findTran != MAX_TRA_NUMBER)
58 return findTran;
59
60 m_pages.add(PageTran(pageno, tranid));
61 return tranid;
62}
63
64
65void GarbageCollector::RelationData::swept(const TraNumber oldest_snapshot, PageBitmap** bm)

Callers 1

notify_garbage_collectorFunction · 0.80

Calls 5

PageTranClass · 0.85
findPageMethod · 0.80
addMethod · 0.45
unlockMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected