MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

Definition in file fut0fut.h.

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
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

Here is the caller graph for this function: