mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
MDEV-23399 preparation: Remove buf_pool.zip_clean
The debug data structure may have been useful during the development of ROW_FORMAT=COMPRESSED page frames. Let us simplify code by removing it.
This commit is contained in:
parent
308f8350c7
commit
fa70c1462a
6 changed files with 23 additions and 183 deletions
|
|
@ -47,15 +47,6 @@ These are low-level functions
|
|||
@param[in] first first page to be flushed or evicted */
|
||||
void buf_LRU_flush_or_remove_pages(ulint id, bool flush, ulint first = 0);
|
||||
|
||||
#ifdef UNIV_DEBUG
|
||||
/********************************************************************//**
|
||||
Insert a compressed block into buf_pool.zip_clean in the LRU order. */
|
||||
void
|
||||
buf_LRU_insert_zip_clean(
|
||||
/*=====================*/
|
||||
buf_page_t* bpage); /*!< in: pointer to the block in question */
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
/** Try to free a block. If bpage is a descriptor of a compressed-only
|
||||
ROW_FORMAT=COMPRESSED page, the buf_page_t object will be freed as well.
|
||||
The caller must hold buf_pool.mutex.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue