diff options
Diffstat (limited to 'storage/xtradb/include/fut0fut.h')
-rw-r--r-- | storage/xtradb/include/fut0fut.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/storage/xtradb/include/fut0fut.h b/storage/xtradb/include/fut0fut.h index 4de0c97294c..dce20b3bad6 100644 --- a/storage/xtradb/include/fut0fut.h +++ b/storage/xtradb/include/fut0fut.h @@ -16,7 +16,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA *****************************************************************************/ -/********************************************************************** +/******************************************************************//** +@file include/fut0fut.h File-based utilities Created 12/13/1995 Heikki Tuuri @@ -31,20 +32,20 @@ Created 12/13/1995 Heikki Tuuri #include "fil0fil.h" #include "mtr0mtr.h" -/************************************************************************ -Gets a pointer to a file address and latches the page. */ +/********************************************************************//** +Gets a pointer to a file address and latches the page. +@return pointer to a byte in a frame; the file page in the frame is +bufferfixed and latched */ UNIV_INLINE byte* fut_get_ptr( /*========*/ - /* out: pointer to a byte in a frame; the file - page in the frame is bufferfixed and latched */ - ulint space, /* in: space id */ - ulint zip_size,/* in: compressed page size in bytes + ulint space, /*!< in: space id */ + ulint zip_size,/*!< in: compressed page size in bytes or 0 for uncompressed pages */ - fil_addr_t addr, /* in: file address */ - ulint rw_latch, /* in: RW_S_LATCH, RW_X_LATCH */ - mtr_t* mtr); /* in: mtr handle */ + fil_addr_t addr, /*!< in: file address */ + ulint rw_latch, /*!< in: RW_S_LATCH, RW_X_LATCH */ + mtr_t* mtr); /*!< in: mtr handle */ #ifndef UNIV_NONINL #include "fut0fut.ic" |