176
176
ulint line, /* in: line where called */
177
177
mtr_t* mtr); /* in: mini-transaction */
178
178
/************************************************************************
179
Tries to get the page, but if file io is required, releases all latches
180
in mtr down to the given savepoint. If io is required, this function
181
retrieves the page to buffer buf_pool, but does not bufferfix it or latch
185
buf_page_get_release_on_io(
186
/*=======================*/
187
/* out: pointer to the frame, or NULL
188
if not in buffer buf_pool */
189
ulint space, /* in: space id */
190
ulint offset, /* in: offset of the page within space
191
in units of a page */
192
buf_frame_t* guess, /* in: guessed frame or NULL */
193
ulint rw_latch, /* in: RW_X_LATCH, RW_S_LATCH,
195
ulint savepoint, /* in: mtr savepoint */
196
mtr_t* mtr); /* in: mtr */
197
/************************************************************************
198
179
This is used to get access to a known database page, when no waiting can be
294
275
ulint space, /* in: space id */
295
276
ulint offset);/* in: page number */
296
277
/************************************************************************
297
Resets the check_index_page_at_flush field of a page if found in the buffer
301
buf_reset_check_index_page_at_flush(
302
/*================================*/
303
ulint space, /* in: space id */
304
ulint offset);/* in: page number */
305
/************************************************************************
306
278
Sets file_page_was_freed TRUE if the page is found in the buffer pool.
307
279
This function should be called when we free a file page and want the
308
280
debug version to check that it is not accessed any more unless