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

Method CchHdr

src/jrd/CryptoManager.cpp:125–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 {
124 public:
125 CchHdr(Jrd::thread_db* p_tdbb, USHORT lockType)
126 : window(Jrd::HEADER_PAGE_NUMBER),
127 tdbb(p_tdbb),
128 wrk(NULL),
129 buffer(*tdbb->getDefaultPool())
130 {
131 void* h = CCH_FETCH(tdbb, &window, lockType, pag_header);
132 if (!h)
133 {
134 ERR_punt();
135 }
136 setHeader(h);
137 }
138
139 Ods::header_page* write()
140 {

Callers

nothing calls this directly

Calls 3

CCH_FETCHFunction · 0.85
ERR_puntFunction · 0.85
getDefaultPoolMethod · 0.45

Tested by

no test coverage detected