InnoDB Plugin  1.0
Functions
fut0fut.h File Reference
#include "univ.i"
#include "fil0fil.h"
#include "mtr0mtr.h"
#include "fut0fut.ic"
Include dependency graph for fut0fut.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

UNIV_INLINE byte * fut_get_ptr (ulint space, ulint zip_size, fil_addr_t addr, ulint rw_latch, mtr_t *mtr)

Detailed Description

File-based utilities

Created 12/13/1995 Heikki Tuuri

Function Documentation

UNIV_INLINE byte* fut_get_ptr ( ulint  space,
ulint  zip_size,
fil_addr_t  addr,
ulint  rw_latch,
mtr_t mtr 
)

Gets a pointer to a file address and latches the page.

Returns
pointer to a byte in a frame; the file page in the frame is bufferfixed and latched in: mtr handle

Gets a pointer to a file address and latches the page.

Returns
pointer to a byte in a frame; the file page in the frame is bufferfixed and latched
Parameters
spacein: space id
zip_sizein: compressed page size in bytes or 0 for uncompressed pages
addrin: file address
rw_latchin: RW_S_LATCH, RW_X_LATCH
mtrin: mtr handle