mirror of
https://github.com/MariaDB/server.git
synced 2025-12-12 08:01:43 +03:00
branches/zip: buf_page_t: Introduce the field in_flush_list #ifdef UNIV_DEBUG.
buf_flush_batch(): Remove the local variable "found".
This commit is contained in:
@@ -959,6 +959,11 @@ struct buf_page_struct{
|
||||
BUF_BLOCK_ZIP_PAGE: zip_clean
|
||||
BUF_BLOCK_ZIP_FREE: zip_free[] */
|
||||
#ifdef UNIV_DEBUG
|
||||
ibool in_flush_list; /* TRUE if in buf_pool->flush_list;
|
||||
when buf_pool->mutex is free, the
|
||||
following should hold: in_flush_list
|
||||
== (state == BUF_BLOCK_FILE_PAGE
|
||||
|| state == BUF_BLOCK_ZIP_DIRTY) */
|
||||
ibool in_free_list; /* TRUE if in buf_pool->free; when
|
||||
buf_pool->mutex is free, the following
|
||||
should hold: in_free_list
|
||||
|
||||
Reference in New Issue
Block a user