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

Function fetch_inventory_page

src/jrd/tra.cpp:2299–2322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2297
2298
2299static tx_inv_page* fetch_inventory_page(thread_db* tdbb,
2300 WIN* window,
2301 ULONG sequence,
2302 USHORT lock_level)
2303{
2304/**************************************
2305 *
2306 * f e t c h _ i n v e n t o r y _ p a g e
2307 *
2308 **************************************
2309 *
2310 * Functional description
2311 * Fetch a transaction inventory page.
2312 * Use the opportunity to cache the info
2313 * in the TIP cache.
2314 *
2315 **************************************/
2316 SET_TDBB(tdbb);
2317
2318 window->win_page = inventory_page(tdbb, sequence);
2319 tx_inv_page* tip = (tx_inv_page*) CCH_FETCH(tdbb, window, lock_level, pag_transactions);
2320
2321 return tip;
2322}
2323
2324
2325static const char* get_lockname_v3(const UCHAR lock)

Callers 5

TRA_extend_tipFunction · 0.85
TRA_fetch_stateFunction · 0.85
TRA_get_inventoryFunction · 0.85
TRA_set_stateFunction · 0.85
limbo_transactionFunction · 0.85

Calls 3

SET_TDBBFunction · 0.85
inventory_pageFunction · 0.85
CCH_FETCHFunction · 0.85

Tested by

no test coverage detected