mariadb/trx
marko 2b82ae8cb4 branches/zip: Improve Valgrind instrumentation of allocated memory.
UNIV_MEM_FREE(): Declare a memory area free.
UNIV_MEM_ALLOC(): Declare a memory area allocated (but uninitialized).
UNIV_MEM_DESC(): Associate a memory area with a control block.
UNIV_MEM_UNDESC(): Unassociate a control block.

trx_sys_create_doublewrite_buf(): Clear the buffer with memset().

buf_page_init(): Add a bogus UNIV_MEM_VALID(block->frame) to silence
valid warnings about InnoDB data pages containing uninitialized data.

buf_LRU_get_free_only(): Add UNIV_MEM_ALLOC(block->frame).

buf_LRU_get_free_block(): Add UNIV_MEM_DESC(block->page.zip.data, block).

buf_LRU_free_block(): Add UNIV_MEM_DESC(b->zip.data, b) when allocating
a compressed-only control block for a compressed page.

buf_LRU_block_free_non_file_page(): Replace UNIV_MEM_INVALID() with
UNIV_MEM_FREE().

buf_LRU_block_remove_hashed_page(): Add UNIV_MEM_UNDESC(bpage) when
deallocating a compressed-only control block.  Add
UNIV_MEM_INVALID(block->frame).  (The frame should be flagged free
by buf_LRU_block_free_non_file_page() moments later.)

buf0buddy.c: Disable some extra checks in Valgrind-instrumented builds.
Add UNIV_MEM_VALID(), UNIV_MEM_INVALID(), UNIV_MEM_FREE(), UNIV_MEM_ALLOC()
as necessary.
2007-01-12 12:36:40 +00:00
..
Makefile.am Import 5.0 code. 2005-10-27 07:29:40 +00:00
trx0purge.c branches/zip: Replace buf_frame_get_page_no() and buf_frame_get_space_id() 2006-10-12 07:02:36 +00:00
trx0rec.c branches/zip: buf_page_get_release_on_io(), buf_page_get_gen(): 2006-10-23 19:34:45 +00:00
trx0roll.c branches/zip: Merge revisions 1009:1165 from trunk. 2007-01-02 14:36:59 +00:00
trx0rseg.c branches/zip: Reduce the number of buf_block_align() calls. 2006-10-12 11:05:22 +00:00
trx0sys.c branches/zip: Improve Valgrind instrumentation of allocated memory. 2007-01-12 12:36:40 +00:00
trx0trx.c branches/zip: trx_prepare_off_kernel(): Eliminate the local variable 2007-01-03 12:34:04 +00:00
trx0undo.c branches/zip: buf_page_get_release_on_io(), buf_page_get_gen(): 2006-10-23 19:34:45 +00:00