InnoDB Plugin
1.0
|
Macros | |
#define | FLST_PREV |
#define | FLST_NEXT |
#define | FLST_LEN 0 /* 32-bit list length field */ |
#define | FLST_FIRST |
#define | FLST_LAST |
Functions | |
UNIV_INLINE void | flst_write_addr (fil_faddr_t *faddr, fil_addr_t addr, mtr_t *mtr) |
UNIV_INLINE fil_addr_t | flst_read_addr (const fil_faddr_t *faddr, mtr_t *mtr) |
UNIV_INLINE void | flst_init (flst_base_node_t *base, mtr_t *mtr) |
UNIV_INLINE ulint | flst_get_len (const flst_base_node_t *base, mtr_t *mtr) |
UNIV_INLINE fil_addr_t | flst_get_first (const flst_base_node_t *base, mtr_t *mtr) |
UNIV_INLINE fil_addr_t | flst_get_last (const flst_base_node_t *base, mtr_t *mtr) |
UNIV_INLINE fil_addr_t | flst_get_next_addr (const flst_node_t *node, mtr_t *mtr) |
UNIV_INLINE fil_addr_t | flst_get_prev_addr (const flst_node_t *node, mtr_t *mtr) |
File-based list utilities
Created 11/28/1995 Heikki Tuuri
#define FLST_FIRST |
#define FLST_LAST |
#define FLST_NEXT |
#define FLST_PREV |
UNIV_INLINE fil_addr_t flst_get_first | ( | const flst_base_node_t * | base, |
mtr_t * | mtr | ||
) |
Gets list first node address.
base | in: pointer to base node |
mtr | in: mini-transaction handle |
UNIV_INLINE fil_addr_t flst_get_last | ( | const flst_base_node_t * | base, |
mtr_t * | mtr | ||
) |
Gets list last node address.
base | in: pointer to base node |
mtr | in: mini-transaction handle |
UNIV_INLINE ulint flst_get_len | ( | const flst_base_node_t * | base, |
mtr_t * | mtr | ||
) |
Gets list length.
base | in: pointer to base node |
mtr | in: mini-transaction handle |
UNIV_INLINE fil_addr_t flst_get_next_addr | ( | const flst_node_t * | node, |
mtr_t * | mtr | ||
) |
Gets list next node address.
node | in: pointer to node |
mtr | in: mini-transaction handle |
UNIV_INLINE fil_addr_t flst_get_prev_addr | ( | const flst_node_t * | node, |
mtr_t * | mtr | ||
) |
Gets list prev node address.
node | in: pointer to node |
mtr | in: mini-transaction handle |
UNIV_INLINE void flst_init | ( | flst_base_node_t * | base, |
mtr_t * | mtr | ||
) |
Initializes a list base node.
base | in: pointer to base node |
mtr | in: mini-transaction handle |
UNIV_INLINE fil_addr_t flst_read_addr | ( | const fil_faddr_t * | faddr, |
mtr_t * | mtr | ||
) |
Reads a file address.
faddr | in: pointer to file faddress |
mtr | in: mini-transaction handle |
UNIV_INLINE void flst_write_addr | ( | fil_faddr_t * | faddr, |
fil_addr_t | addr, | ||
mtr_t * | mtr | ||
) |
Writes a file address.
faddr | in: pointer to file faddress |
addr | in: file address |
mtr | in: mini-transaction handle |