Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0614d173
Commit
0614d173
authored
Jun 16, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: buf_page_io_query(): Remove unused function.
parent
626eac43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
32 deletions
+0
-32
include/buf0buf.h
include/buf0buf.h
+0
-9
include/buf0buf.ic
include/buf0buf.ic
+0
-23
No files found.
include/buf0buf.h
View file @
0614d173
...
@@ -957,15 +957,6 @@ buf_frame_get_page_zip(
...
@@ -957,15 +957,6 @@ buf_frame_get_page_zip(
const
byte
*
ptr
);
/*!< in: pointer to the page */
const
byte
*
ptr
);
/*!< in: pointer to the page */
#endif
/* UNIV_DEBUG || UNIV_ZIP_DEBUG */
#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
Function which inits a page for read to the buffer buf_pool. If the page is
(1) already in buf_pool, or
(1) already in buf_pool, or
(2) if we specify to read only ibuf pages and the page is not an ibuf page, or
(2) if we specify to read only ibuf pages and the page is not an ibuf page, or
...
...
include/buf0buf.ic
View file @
0614d173
...
@@ -779,29 +779,6 @@ buf_page_address_fold(
...
@@ -779,29 +779,6 @@ buf_page_address_fold(
return((space << 20) + space + offset);
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.
Gets the youngest modification log sequence number for a frame.
Returns zero if not file page or no modification occurred yet.
Returns zero if not file page or no modification occurred yet.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment