mirror of
https://github.com/MariaDB/server.git
synced 2025-12-18 10:22:14 +03:00
branches/zip: Minor improvements.
buf_flush_remove(): New function, for removing a block from the flush list. Sliced from buf_flush_write_complete(). buf_page_set_state(): Allow transitions between BUF_BLOCK_ZIP_PAGE and BUF_BLOCK_ZIP_DIRTY.
This commit is contained in:
@@ -135,12 +135,7 @@ scan_again:
|
||||
|
||||
if (bpage->oldest_modification != 0) {
|
||||
|
||||
/* Remove from the flush list of modified
|
||||
blocks */
|
||||
bpage->oldest_modification = 0;
|
||||
|
||||
UT_LIST_REMOVE(list, buf_pool->flush_list,
|
||||
bpage);
|
||||
buf_flush_remove(bpage);
|
||||
}
|
||||
|
||||
/* Remove from the LRU list */
|
||||
|
||||
Reference in New Issue
Block a user