| 2297 | |
| 2298 | |
| 2299 | static 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 | |
| 2325 | static const char* get_lockname_v3(const UCHAR lock) |
no test coverage detected