mariadb/buf
marko 6df0fc42ed branches/zip: Improve Valgrind diagnostics.
buf_buddy_relocate(): Document that src may have been split and some of
it may be in buf_pool->zip_free[j] for some j<i, thus mach_read_from_4()
may be reading from free memory.  Check buffer pages only for addressability,
not for being completely initialized.  Ensure that block descriptors are
completely initialized.

buf_buddy_remove_from_free(): Check prev->state and next->state in
UNIV_DEBUG && UNIV_DEBUG_VALGRIND builds.

buf_buddy_free_low(): Flag the entire block valid prior to invoking
buf_buddy_remove_from_free() in order to avoid a Valgrind warning about
the debug assertion on bpage->state.  Remove the Valgrind check for
buddy being completely allocated.  If it has been split to smaller blocks,
some of those blocks may be free.
2007-01-12 22:23:12 +00:00
..
buf0buddy.c branches/zip: Improve Valgrind diagnostics. 2007-01-12 22:23:12 +00:00
buf0buf.c branches/zip: Improve Valgrind instrumentation of allocated memory. 2007-01-12 12:36:40 +00:00
buf0flu.c branches/zip: Replace an ut_a() with ut_d(). This mistake was made in r1188. 2007-01-09 12:56:12 +00:00
buf0lru.c branches/zip: Improve Valgrind instrumentation of allocated memory. 2007-01-12 12:36:40 +00:00
buf0rea.c branches/zip: buf_page_io_complete(): Change the parameter type from 2007-01-10 14:36:39 +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