InnoDB Plugin
1.0
|
Functions | |
UNIV_INLINE trx_rsegf_t * | trx_rsegf_get (ulint space, ulint zip_size, ulint page_no, mtr_t *mtr) |
UNIV_INLINE trx_rsegf_t * | trx_rsegf_get_new (ulint space, ulint zip_size, ulint page_no, mtr_t *mtr) |
UNIV_INLINE ulint | trx_rsegf_get_nth_undo (trx_rsegf_t *rsegf, ulint n, mtr_t *mtr) |
UNIV_INLINE void | trx_rsegf_set_nth_undo (trx_rsegf_t *rsegf, ulint n, ulint page_no, mtr_t *mtr) |
UNIV_INLINE ulint | trx_rsegf_undo_find_free (trx_rsegf_t *rsegf, mtr_t *mtr) |
UNIV_INLINE trx_rseg_t * | trx_rseg_get_on_id (ulint id) |
Rollback segment
Created 3/26/1996 Heikki Tuuri
UNIV_INLINE trx_rseg_t* trx_rseg_get_on_id | ( | ulint | id | ) |
Looks for a rollback segment, based on the rollback segment id.
id | in: rollback segment id |
UNIV_INLINE trx_rsegf_t* trx_rsegf_get | ( | ulint | space, |
ulint | zip_size, | ||
ulint | page_no, | ||
mtr_t * | mtr | ||
) |
Gets a rollback segment header.
space | in: space where placed |
zip_size | in: compressed page size in bytes or 0 for uncompressed pages |
page_no | in: page number of the header |
mtr | in: mtr |
UNIV_INLINE trx_rsegf_t* trx_rsegf_get_new | ( | ulint | space, |
ulint | zip_size, | ||
ulint | page_no, | ||
mtr_t * | mtr | ||
) |
Gets a newly created rollback segment header.
space | in: space where placed |
zip_size | in: compressed page size in bytes or 0 for uncompressed pages |
page_no | in: page number of the header |
mtr | in: mtr |
UNIV_INLINE ulint trx_rsegf_get_nth_undo | ( | trx_rsegf_t * | rsegf, |
ulint | n, | ||
mtr_t * | mtr | ||
) |
Gets the file page number of the nth undo log slot.
rsegf | in: rollback segment header |
n | in: index of slot |
mtr | in: mtr |
UNIV_INLINE void trx_rsegf_set_nth_undo | ( | trx_rsegf_t * | rsegf, |
ulint | n, | ||
ulint | page_no, | ||
mtr_t * | mtr | ||
) |
Sets the file page number of the nth undo log slot.
rsegf | in: rollback segment header |
n | in: index of slot |
page_no | in: page number of the undo log segment |
mtr | in: mtr |
UNIV_INLINE ulint trx_rsegf_undo_find_free | ( | trx_rsegf_t * | rsegf, |
mtr_t * | mtr | ||
) |
Looks for a free slot for an undo log segment.
rsegf | in: rollback segment header |
mtr | in: mtr |