drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
fut0fut.h File Reference
#include "univ.i"
#include "fil0fil.h"
#include "mtr0mtr.h"
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.

Macro Definition Documentation

◆ fut0fut_h

#define fut0fut_h

Definition at line 29 of file fut0fut.h.

Function Documentation

◆ fut_get_ptr()

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