mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
branches/zip: buf_page_io_query(): Remove unused function.
This commit is contained in:
parent
7b64532b20
commit
d656b7f2d4
2 changed files with 0 additions and 32 deletions
|
@ -957,15 +957,6 @@ buf_frame_get_page_zip(
|
|||
const byte* ptr); /*!< in: pointer to the page */
|
||||
#endif /* UNIV_DEBUG || UNIV_ZIP_DEBUG */
|
||||
/********************************************************************//**
|
||||
This function is used to get info if there is an io operation
|
||||
going on on a buffer page.
|
||||
@return TRUE if io going on */
|
||||
UNIV_INLINE
|
||||
ibool
|
||||
buf_page_io_query(
|
||||
/*==============*/
|
||||
buf_page_t* bpage); /*!< in: pool block, must be bufferfixed */
|
||||
/********************************************************************//**
|
||||
Function which inits a page for read to the buffer buf_pool. If the page is
|
||||
(1) already in buf_pool, or
|
||||
(2) if we specify to read only ibuf pages and the page is not an ibuf page, or
|
||||
|
|
|
@ -779,29 +779,6 @@ buf_page_address_fold(
|
|||
return((space << 20) + space + offset);
|
||||
}
|
||||
|
||||
/********************************************************************//**
|
||||
This function is used to get info if there is an io operation
|
||||
going on on a buffer page.
|
||||
@return TRUE if io going on */
|
||||
UNIV_INLINE
|
||||
ibool
|
||||
buf_page_io_query(
|
||||
/*==============*/
|
||||
buf_page_t* bpage) /*!< in: buf_pool block, must be bufferfixed */
|
||||
{
|
||||
ibool io_fixed;
|
||||
|
||||
buf_pool_mutex_enter();
|
||||
|
||||
ut_ad(buf_page_in_file(bpage));
|
||||
ut_ad(bpage->buf_fix_count > 0);
|
||||
|
||||
io_fixed = buf_page_get_io_fix(bpage) != BUF_IO_NONE;
|
||||
buf_pool_mutex_exit();
|
||||
|
||||
return(io_fixed);
|
||||
}
|
||||
|
||||
/********************************************************************//**
|
||||
Gets the youngest modification log sequence number for a frame.
|
||||
Returns zero if not file page or no modification occurred yet.
|
||||
|
|
Loading…
Add table
Reference in a new issue