105
105
Gets a buffer page and declares its latching order level. */
110
ulint space, /*!< in: space id */
111
ulint zip_size, /*!< in: compressed page size in bytes
112
or 0 for uncompressed pages */
113
ulint page_no, /*!< in: page number */
114
ulint mode, /*!< in: latch mode */
115
mtr_t* mtr); /*!< in: mtr */
116
/**************************************************************//**
117
Gets a buffer page and declares its latching order level. */
122
ulint space, /*!< in: space id */
123
ulint zip_size, /*!< in: compressed page size in bytes
124
or 0 for uncompressed pages */
125
ulint page_no, /*!< in: page number */
126
ulint mode, /*!< in: latch mode */
127
mtr_t* mtr); /*!< in: mtr */
110
ulint space, /*!< in: space id */
111
ulint zip_size, /*!< in: compressed page size in bytes
112
or 0 for uncompressed pages */
113
ulint page_no, /*!< in: page number */
114
ulint mode, /*!< in: latch mode */
115
const char* file, /*!< in: file name */
116
ulint line, /*!< in: line where called */
117
mtr_t* mtr) /*!< in/out: mtr */
118
__attribute__((nonnull));
119
/** Gets a buffer page and declares its latching order level.
120
@param space tablespace identifier
121
@param zip_size compressed page size in bytes or 0 for uncompressed pages
122
@param page_no page number
123
@param mode latch mode
124
@param mtr mini-transaction handle
125
@return the block descriptor */
126
# define btr_block_get(space,zip_size,page_no,mode,mtr) \
127
btr_block_get_func(space,zip_size,page_no,mode,__FILE__,__LINE__,mtr)
128
/** Gets a buffer page and declares its latching order level.
129
@param space tablespace identifier
130
@param zip_size compressed page size in bytes or 0 for uncompressed pages
131
@param page_no page number
132
@param mode latch mode
133
@param mtr mini-transaction handle
134
@return the uncompressed page frame */
135
# define btr_page_get(space,zip_size,page_no,mode,mtr) \
136
buf_block_get_frame(btr_block_get(space,zip_size,page_no,mode,mtr))
128
137
#endif /* !UNIV_HOTBACKUP */
129
138
/**************************************************************//**
130
139
Gets the index id field of a page.