18
18
/* out: pointer to a byte in a frame; the file
19
19
page in the frame is bufferfixed and latched */
20
20
ulint space, /* in: space id */
23
21
fil_addr_t addr, /* in: file address */
24
22
ulint rw_latch, /* in: RW_S_LATCH, RW_X_LATCH */
25
23
mtr_t* mtr) /* in: mtr handle */
30
28
ut_ad(addr.boffset < UNIV_PAGE_SIZE);
31
29
ut_ad((rw_latch == RW_S_LATCH) || (rw_latch == RW_X_LATCH));
33
block = buf_page_get(space, zip_size, addr.page, rw_latch, mtr);
31
ptr = buf_page_get(space, addr.page, rw_latch, mtr) + addr.boffset;
38
35
#endif /* UNIV_SYNC_DEBUG */