mariadb/buf
marko 4861c59c59 branches/zip: Fix two bugs in the relocation of block descriptors.
Improve diagnostics.

buf_buddy_relocate(): Do not assume all small blocks to contain only one
buf_page_t object.  Require an exact size match, as in the case of
compressed pages.

buf_relocate(): Relocate buf_pool->LRU_old if needed.
Validate the LRU list in debug builds.

buf_LRU_block_remove_hashed_page(): Do not overwrite FIL_PAGE_OFFSET
or FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID.  The memory will be invalidated
in debug builds of buf_buddy_free().

buf0buddy.c: Add assertions for not holding buf_pool->zip_mutex.
The calling thread should not be holding any block->mutex, but it might
be too time-consuming to assert against that, even #ifdef UNIV_SYNC_DEBUG.
2007-01-04 15:45:42 +00:00
..
buf0buddy.c branches/zip: Fix two bugs in the relocation of block descriptors. 2007-01-04 15:45:42 +00:00
buf0buf.c branches/zip: Fix two bugs in the relocation of block descriptors. 2007-01-04 15:45:42 +00:00
buf0flu.c buf_flush_validate_low(): Minor cleanup. 2007-01-03 15:55:36 +00:00
buf0lru.c branches/zip: Fix two bugs in the relocation of block descriptors. 2007-01-04 15:45:42 +00:00
buf0rea.c branches/zip: Move the fields related to the least-recently-used algorithm 2006-11-30 12:27:49 +00:00
Makefile.am branches/zip: Add the first bits of the binary buddy system for allocating 2006-12-07 13:29:04 +00:00